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:
Henrik Lissner 2023-09-11 23:52:27 +02:00
parent a7123bf65f
commit f427c8a30e
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
6 changed files with 5 additions and 16 deletions

View file

@ -237,7 +237,6 @@ results buffer.")
;; Record in jumplist when opening files via counsel-{ag,rg,pt,git-grep}
(add-hook 'counsel-grep-post-action-hook #'better-jumper-set-jump)
(add-hook 'counsel-grep-post-action-hook #'recenter)
(ivy-add-actions
'counsel-rg ; also applies to `counsel-rg'
'(("O" +ivy-git-grep-other-window-action "open in other window")))