summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 20:05:13 +0000
committernoa@gaiwan.org2024-06-13 20:05:13 +0000
commitfd4daf634298d52fe570a39d803530e9b04b7e50 (patch)
treed8ce91676071058ece8a550963c73910ebc83548 /emacs/init.el
parentecf9b08106cf8285b817434774dcd9c0aecf734e (diff)
Make C-l recenter in order from top to bottom of the window
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8497547..37cf2f7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -727,6 +727,9 @@ targets."
 	(keyfreq-autosave-mode t)
 )
 
+;; C-l goes in order
+(setopt recenter-positions '(top middle bottom))
+
 ;; Emacs uses choppy scrolling by default.  If i scoll with my trackpad, it's nice to have it move tiny amounts at the same time as my fingers, which pixel-scroll-precision-mode allows for.  This also has the benefit of making scrolling over images a little bit of a nicer experience.
 (setopt
 	pixel-scroll-precision-mode t