Add some mouse scroll customisations
This commit is contained in:
parent
9525d51987
commit
a616db6127
5
init.el
5
init.el
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue