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
|
@ -229,8 +229,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
|||
;; than display a jarring confirmation prompt for killing it.
|
||||
(add-hook! 'kill-emacs-hook (ignore-errors (rtags-cancel-process)))
|
||||
|
||||
(add-hook 'rtags-jump-hook #'better-jumper-set-jump)
|
||||
(add-hook 'rtags-after-find-file-hook #'recenter))
|
||||
(add-hook 'rtags-jump-hook #'better-jumper-set-jump))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue