diff --git a/init.el b/init.el index d302902..91dcb84 100644 --- a/init.el +++ b/init.el @@ -121,11 +121,12 @@ hscroll-step 1 ;; Emacs spends excessive time recentering the screen when the cursor ;; moves more than N lines past the window edges (where N is the value of - ;; `scroll-conservatively'). This can be particularly slow in larger - ;; files during extensive scrolling. If `scroll-conservatively` is set - ;; above 100, the window is never automatically recentered. The default - ;; value (0) triggers recentering too aggressively, so I've set it to 10 - ;; to recenter the window only when scrolling significantly off-screen. + ;; `scroll-conservatively`). This can be particularly slow in larger files + ;; during extensive scrolling. If `scroll-conservatively` is set above + ;; 100, the window is never automatically recentered. The default value of + ;; 0 triggers recentering too aggressively. Setting it to 10 reduces + ;; excessive recentering and only recenters the window when scrolling + ;; significantly off-screen. scroll-conservatively 10 scroll-margin 0 scroll-preserve-screen-position t