Add imenu-list plugin + binding
This commit is contained in:
parent
c64bd4a666
commit
11af0f487c
4 changed files with 24 additions and 0 deletions
|
@ -163,6 +163,19 @@
|
|||
(remove-hook 'after-save-hook 'narf/add-whitespace t)))
|
||||
(add-hook 'before-save-hook 'delete-trailing-whitespace))
|
||||
|
||||
(use-package imenu-list
|
||||
:commands (imenu-list-minor-mode)
|
||||
:config
|
||||
(setq imenu-list-mode-line-format nil
|
||||
imenu-list-position 'right
|
||||
imenu-list-size 35)
|
||||
|
||||
(map! :map imenu-list-major-mode-map
|
||||
:n [escape] 'narf/imenu-list-quit
|
||||
:n "RET" 'imenu-list-goto-entry
|
||||
:n "SPC" 'imenu-list-display-entry
|
||||
:n [tab] 'hs-toggle-hiding))
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:commands rainbow-delimiters-mode
|
||||
:init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue