Emacs: Use counsel instead of ivy for imenu
Alan Pearce alan@alanpearce.uk
Thu, 04 May 2017 10:40:12 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -1419,6 +1419,7 @@ (bind-key "<menu>" #'counsel-M-x) (bind-key "C-c M-x" #'execute-extended-command) (bind-key "C-x C-f" #'counsel-find-file) (bind-key "M-y" #'counsel-yank-pop) + (bind-key "C-x i" #'counsel-imenu) (bind-key "M-y" #'ivy-next-line ivy-minibuffer-map) (defadvice counsel-find-file (after find-file-sudo activate) "Find file as root if necessary."