mouse-wheel-scroll-amount-horizontal = 2

Make hscrolling a little faster. Our windows and displays are large.
Scrolling one character at a time is too slow.
This commit is contained in:
Henrik Lissner 2021-01-26 23:46:15 -05:00
parent 454c4132d4
commit 614dc93569

View file

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