Skip to content

Commit

Permalink
tweak(defaults): better scrolling settings
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 27, 2023
1 parent 9bdf851 commit f1b4639
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/me-defaults.el
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,18 @@
scroll-conservatively 101
;; Scroll at a margin of one line
scroll-margin 1
;; The number of lines to scroll
scroll-step 1
;; Columns from the window edge point allowed before horizontal scroll
hscroll-margin 2
;; The number of columns to scroll
hscroll-step 1
;; Better scrolling on Emacs29+, specially on a touchpad
pixel-scroll-precision-use-momentum t
;; Make mouse scroll a little faster
mouse-wheel-scroll-amount '(2 ((shift) . hscroll) ((meta) . nil) ((control meta) . global-text-scale) ((control) . text-scale))
;; Make mouse scroll a little faster horizontally
mouse-wheel-scroll-amount-horizontal 2

;; ====== Recent files ======
;; Increase the maximum number of saved items
Expand Down

0 comments on commit f1b4639

Please sign in to comment.