Add some mouse scroll customisations

This commit is contained in:
Evie Litherland-Smith 2024-04-22 11:12:46 +01:00
parent 9525d51987
commit a616db6127

View file

@ -31,6 +31,11 @@
:init :init
(pixel-scroll-precision-mode +1)) (pixel-scroll-precision-mode +1))
(use-package mwheel
:custom
(mouse-wheel-scroll-amount '(1 ((shift) . 1)))
(mouse-wheel-progressive-speed nil)
(mouse-wheel-follow-mouse t))
;; Bind normal forward/back buttons on mouse to next/previous buffer respectively ;; Bind normal forward/back buttons on mouse to next/previous buffer respectively
(keymap-global-set "<mouse-8>" #'previous-buffer) (keymap-global-set "<mouse-8>" #'previous-buffer)