all repos — nixfiles @ 755ccce37c2e1e72e3934fd66009d1f510b9c456

System and user configuration, managed by nix and home-manager

Emacs: Use counsel instead of ivy for imenu

Alan Pearce
commit

755ccce37c2e1e72e3934fd66009d1f510b9c456

parent

0b84cca0848b1de1bbe63841df3cc2b83260d690

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.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."