tweak: scroll-conservatively = 10
Forces the window to recenter if the cursor moves >=10 lines off-screen. This makes some of our manual recentering elsewhere unnecessary.
This commit is contained in:
parent
a7123bf65f
commit
f427c8a30e
6 changed files with 5 additions and 16 deletions
|
@ -112,9 +112,6 @@ See `+emacs-lisp-non-package-mode' for details.")
|
|||
(when +emacs-lisp-enable-extra-fontification
|
||||
`((+emacs-lisp-highlight-vars-and-faces . +emacs-lisp--face)))))
|
||||
|
||||
;; Recenter window after following definition
|
||||
(advice-add #'elisp-def :after #'doom-recenter-a)
|
||||
|
||||
(defadvice! +emacs-lisp-append-value-to-eldoc-a (fn sym)
|
||||
"Display variable value next to documentation in eldoc."
|
||||
:around #'elisp-get-var-docstring
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue