Emacs: bind s-, to open emacs init file from register
Alan Pearce alan@alanpearce.co.uk
Sat, 12 Oct 2013 16:50:53 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M emacs/init.el → emacs/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" "~")))