scroll-conservatively = 101 #2217

This commit is contained in:
Henrik Lissner 2020-01-04 17:12:09 -05:00
parent ae5cf1889b
commit 8c7aaa6468
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -173,7 +173,12 @@ read-only or not file-visiting."
(setq hscroll-margin 2 (setq hscroll-margin 2
hscroll-step 1 hscroll-step 1
scroll-conservatively 10 ;; Emacs spends too much effort recentering the screen if you scroll the
;; cursor more than N lines past window edges (where N is the settings of
;; `scroll-conservatively'). This is especially slow in larger files
;; during large-scale scrolling commands. If kept over 100, the window is
;; never automatically recentered.
scroll-conservatively 101
scroll-margin 0 scroll-margin 0
scroll-preserve-screen-position t scroll-preserve-screen-position t
;; Reduce cursor lag by a tiny bit by not auto-adjusting `window-vscroll' ;; Reduce cursor lag by a tiny bit by not auto-adjusting `window-vscroll'