From 002f879a2184ddc39a07363a0384c5bcdc01d7ff Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Jun 2014 19:37:02 +0100 Subject: Emacs: Rebind s-, to edit init.el via imenu --- tag-emacs/emacs.d/init.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tag-emacs') 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" "~"))) -- cgit 1.4.1