From 78dc31a1d91812c3969fa00d6ea249ce7cbdf054 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 6 Jun 2024 11:49:31 -0400 Subject: [PATCH] Use pixel-scroll-precision-mode to scroll by pixel instead of by line. --- emacs/.emacs.d/config/init-built-ins.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/.emacs.d/config/init-built-ins.el b/emacs/.emacs.d/config/init-built-ins.el index d2b3307..6963896 100644 --- a/emacs/.emacs.d/config/init-built-ins.el +++ b/emacs/.emacs.d/config/init-built-ins.el @@ -80,4 +80,8 @@ (browse-url url-or-symbol) (browse-url (format "https://www.google.com/search?q=%s" url-or-symbol))))) +(use-package pixel-scroll + :straight (:type built-in) + :hook (after-init . pixel-scroll-precision-mode)) + (provide 'init-built-ins)