Slower mouse-wheel and re-enable acceleration

This improves the illusion of faster scrolling.
This commit is contained in:
Henrik Lissner 2021-01-26 23:44:40 -05:00
parent 6d2b9ff100
commit 454c4132d4

View file

@ -194,8 +194,7 @@ or if the current buffer is read-only or not file-visiting."
;; for tall lines.
auto-window-vscroll nil
;; mouse
mouse-wheel-scroll-amount '(5 ((shift) . 2))
mouse-wheel-progressive-speed nil) ; don't accelerate scrolling
mouse-wheel-scroll-amount '(2 ((shift) . hscroll)))
;; Remove hscroll-margin in shells, otherwise it causes jumpiness
(setq-hook! '(eshell-mode-hook term-mode-hook) hscroll-margin 0)