From 9200045481dd98c9fd3fba601c53cd9040035266 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 12 Oct 2013 16:50:53 +0100 Subject: Emacs: bind s-, to open emacs init file from register --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 6b8a253d..ad8fd754 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -523,6 +523,9 @@ Values: `desktop', `server', `laptop'") (bind-key "s-x" (define-prefix-command 'super-x-map)) +(bind-key "s-," (lambda () + (interactive) + (jump-to-register ?e))) (set-register ?e `(file . ,*init-file*)) (set-register ?z `(file . ,(expand-file-name ".zshrc" "~"))) -- cgit 1.4.1