From fd4daf634298d52fe570a39d803530e9b04b7e50 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Thu, 13 Jun 2024 20:05:13 +0000 Subject: Make C-l recenter in order from top to bottom of the window --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/init.el') 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 -- cgit 1.4.1-2-gfad0