summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-12 22:34:11 +0000
committernoa@gaiwan.org2024-06-12 22:34:11 +0000
commit47c00f736a86067d2204017a6dd2a600f09ae33d (patch)
treee1ea8b22fb152141f4d643d9c8b30336a274c8a4 /emacs
parent842d6125f934637b478a29163564f59cd81342ba (diff)
Update scrolling configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e02c048..6ea5fc5 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -665,12 +665,8 @@ and when JID is not in `jabber-activity-banned'."
(keyfreq-autosave-mode t)
)
-;;; scrolling
+;; 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
- mouse-wheel-scroll-amount '(1 ((shift) . 1))
- mouse-wheel-progressive-speed nil
- mouse-wheel-follow-mouse 't
- scroll-step 0
pixel-scroll-precision-mode t
pixel-scroll-precision-use-momentum t)