Add IMenu-list

This commit is contained in:
Jeremy Dormitzer 2019-11-07 17:01:14 -05:00
parent c820fb2ff3
commit f394ba15b3

View File

@ -642,7 +642,7 @@ Speedbar is cool but having it open in a separate frame is annoying. This makes
(sr-speedbar-open))
(sr-speedbar-select-window))
(leader-def-key "\\" #'switch-to-speedbar)
(leader-def-key "S" #'switch-to-speedbar)
#+END_SRC
* Whitespace Visualation
#+BEGIN_SRC emacs-lisp
@ -3330,3 +3330,15 @@ A fuzzy-finder for notes.
(switch-to-buffer "*redis-cli*"))
(error "Can't find redis-cli"))))
#+END_SRC
* IMenu
Get a nice IMenu sidebar:
#+BEGIN_SRC emacs-lisp
(use-package imenu-list
:config
(add-to-list 'evil-emacs-state-modes 'imenu-list-major-mode)
:general
(imenu-list-major-mode-map "SPC" leader-map)
(imenu-list-major-mode-map "." #'imenu-list-display-entry))
(leader-def-key "\\" #'imenu-list-smart-toggle)
#+END_SRC