diff options
author | Alan Pearce | 2014-06-10 19:37:02 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-10 19:37:02 +0100 |
commit | 002f879a2184ddc39a07363a0384c5bcdc01d7ff (patch) | |
tree | a1b49e81f87e77ea8542350bc093cfbd90f3087c /tag-emacs | |
parent | 2236fa83756d3f66110593b8d917ca06cec7d869 (diff) | |
download | nixfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.tar.lz nixfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.tar.zst nixfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.zip |
Emacs: Rebind s-, to edit init.el via imenu
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 438db55b..aa2acb5a 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -407,9 +407,7 @@ (bind-key "s-x" (define-prefix-command 'super-x-map)) -(bind-key "s-," (lambda () - (interactive) - (jump-to-register ?e))) +(bind-key "s-," #'init-imenu) (set-register ?e `(file . ,*init-file*)) (set-register ?z `(file . ,(expand-file-name ".config/zsh/zshrc" "~"))) |