all repos — nixfiles @ 9200045481dd98c9fd3fba601c53cd9040035266

System and user configuration, managed by nix and home-manager

Emacs: bind s-, to open emacs init file from register
Alan Pearce alan@alanpearce.co.uk
Sat, 12 Oct 2013 16:50:53 +0100
commit

9200045481dd98c9fd3fba601c53cd9040035266

parent

ff17a94532bbd44709db6b71d6d9f67de39e8a89

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -523,6 +523,9 @@ (unbind-key "s-w") 
 (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" "~")))