summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-10 19:37:02 +0100
committerAlan Pearce2014-06-10 19:37:02 +0100
commit002f879a2184ddc39a07363a0384c5bcdc01d7ff (patch)
treea1b49e81f87e77ea8542350bc093cfbd90f3087c
parent2236fa83756d3f66110593b8d917ca06cec7d869 (diff)
downloaddotfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.tar.lz
dotfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.tar.zst
dotfiles-002f879a2184ddc39a07363a0384c5bcdc01d7ff.zip
Emacs: Rebind s-, to edit init.el via imenu
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 438db55..aa2acb5 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" "~")))