Change scroll-conservatively to 10
This commit is contained in:
7
init.el
7
init.el
@@ -272,9 +272,10 @@
|
|||||||
;; Keep screen position if scroll command moved it vertically out of the window.
|
;; Keep screen position if scroll command moved it vertically out of the window.
|
||||||
(setq scroll-preserve-screen-position t)
|
(setq scroll-preserve-screen-position t)
|
||||||
|
|
||||||
;; If `scroll-conservatively' is set above 100, the window is never
|
;; Emacs recenters the window when the cursor moves past `scroll-conservatively'
|
||||||
;; automatically recentered, which decreases the time spend recentering.
|
;; lines beyond the window edge. A value over 101 disables recentering; the
|
||||||
(setq scroll-conservatively 101)
|
;; default (0) is too eager. Here it is set to 10 for a balanced behavior.
|
||||||
|
(setq scroll-conservatively 10)
|
||||||
|
|
||||||
;; 1. Preventing automatic adjustments to `window-vscroll' for long lines.
|
;; 1. Preventing automatic adjustments to `window-vscroll' for long lines.
|
||||||
;; 2. Resolving the issue of random half-screen jumps during scrolling.
|
;; 2. Resolving the issue of random half-screen jumps during scrolling.
|
||||||
|
|||||||
Reference in New Issue
Block a user