Use pixel-scroll-precision-mode

This commit is contained in:
Evie Litherland-Smith 2024-04-22 08:19:20 +01:00
parent fa3408f3bb
commit c21d6f90f4

11
init.el
View file

@ -25,12 +25,11 @@
completion-cycle-threshold nil completion-cycle-threshold nil
completions-detailed t completions-detailed t
xref-show-definitions-function #'xref-show-definitions-completing-read xref-show-definitions-function #'xref-show-definitions-completing-read
kill-do-not-save-duplicates t kill-do-not-save-duplicates t)
auto-window-vscroll nil
fast-but-imprecise-scrolling t (use-package pixel-scroll
scroll-conservatively 101 :init
scroll-margin 0 (pixel-scroll-precision-mode +1))
scroll-preserve-screen-position 1)
;; Bind normal forward/back buttons on mouse to next/previous buffer respectively ;; Bind normal forward/back buttons on mouse to next/previous buffer respectively