scroll-conservatively = 10

Match the vim default behavior of recenting the cursor in the window if
it moves more than 10 lines above or below the ends of the window.
This commit is contained in:
Henrik Lissner 2019-07-26 22:44:05 +02:00
parent 4d73f659f5
commit fe5d285a50
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -177,7 +177,7 @@ read-only or not file-visiting."
(setq hscroll-margin 2 (setq hscroll-margin 2
hscroll-step 1 hscroll-step 1
scroll-conservatively 1001 scroll-conservatively 10
scroll-margin 0 scroll-margin 0
scroll-preserve-screen-position t scroll-preserve-screen-position t
;; mouse ;; mouse