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
|
@ -586,10 +586,6 @@ current buffer."
|
|||
(with-current-buffer buf (goto-char pos)))))))))
|
||||
|
||||
|
||||
;;;###package imenu
|
||||
(add-hook 'imenu-after-jump-hook #'recenter)
|
||||
|
||||
|
||||
(use-package! smartparens
|
||||
;; Auto-close delimiters and blocks as you type. It's more powerful than that,
|
||||
;; but that is all Doom uses it for.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue