Improve scrolling behavior

This commit is contained in:
2014-04-03 14:30:28 +01:00
parent e169b21ba8
commit 6ed950a77b

View File

@@ -67,11 +67,13 @@
(setq reb-re-syntax 'string)
;; smoother scrolling (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(2 ((shift) . 10)) ;; two lines at a time
mouse-wheel-progressive-speed nil ;; don't accelerate scrolling
(setq redisplay-dont-pause t
mouse-wheel-scroll-amount '(1 ((shift) . 10)) ;; one line at a time
mouse-wheel-follow-mouse 't ;; scroll window under mouse
scroll-step 1 ;; keyboard scroll one line at a time
scroll-margin 0)
scroll-margin 1
scroll-step 1
scroll-conservatively 10000
scroll-preserve-screen-position 1)
;; Enable mouse support when running in a console
(unless window-system