diff options
author | Alan Pearce | 2013-10-12 16:50:53 +0100 |
---|---|---|
committer | Alan Pearce | 2013-10-12 16:50:53 +0100 |
commit | 9200045481dd98c9fd3fba601c53cd9040035266 (patch) | |
tree | 27ec04ed50463708a355f779c08c55f2946247ba /emacs | |
parent | ff17a94532bbd44709db6b71d6d9f67de39e8a89 (diff) | |
download | nixfiles-9200045481dd98c9fd3fba601c53cd9040035266.tar.lz nixfiles-9200045481dd98c9fd3fba601c53cd9040035266.tar.zst nixfiles-9200045481dd98c9fd3fba601c53cd9040035266.zip |
Emacs: bind s-, to open emacs init file from register
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
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" "~"))) |