diff --git a/emacs/init.org b/emacs/init.org index ccc8429..8157b92 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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