Recenter after selecting imenu entry
This commit is contained in:
parent
7aedd2b6fd
commit
22e297ba0f
7
init.org
7
init.org
|
@ -4585,10 +4585,9 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
|
|||
*** imenu
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package imenu
|
||||
:ensure t
|
||||
:config
|
||||
(setq imenu-auto-rescan t
|
||||
org-imenu-depth 5))
|
||||
:hook (imenu-after-jump . (lambda () (recenter 0))) ;; also applies to `imenus'
|
||||
:config (setq imenu-auto-rescan t
|
||||
org-imenu-depth 5))
|
||||
#+END_SRC
|
||||
|
||||
**** imenus
|
||||
|
|
Loading…
Reference in New Issue