Add IMenu-list
This commit is contained in:
parent
c820fb2ff3
commit
f394ba15b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user