summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-02-16 16:16:20 +0800
committernoa2025-02-16 16:16:20 +0800
commitca1584ec56afc3f52386ffa7f3033faaecd7e227 (patch)
treef7b82fee2f2ce0766f486b104d23da645ab5df67 /emacs
parentdf6595c6631442a152fbe781039a65bea4c5103a (diff)
Have two lines of context instead of one at screen edges
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8cb4abf..af74b93 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -374,7 +374,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 ;; C-l from top to bottom
 (setopt recenter-positions '(top middle bottom))
 ;; Always give me a line of text when i'm near the edges of the screen
-(setopt scroll-margin 1)
+(setopt scroll-margin 2)
 
 ;; Remember my position in files
 (setopt save-place-mode t)