all repos — archive/dotfiles @ 002f879a2184ddc39a07363a0384c5bcdc01d7ff

Superseded by nixfiles

Emacs: Rebind s-, to edit init.el via imenu
Alan Pearce alan@alanpearce.co.uk
Tue, 10 Jun 2014 19:37:02 +0100
commit

002f879a2184ddc39a07363a0384c5bcdc01d7ff

parent

2236fa83756d3f66110593b8d917ca06cec7d869

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -407,9 +407,7 @@ (bind-key "s-k" #'kill-this-buffer) 
 (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" "~")))