From 6ed950a77bd57e071a374dd8caee320072ec9b79 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 3 Apr 2014 14:30:28 +0100 Subject: [PATCH] Improve scrolling behavior --- behavior.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/behavior.el b/behavior.el index 40b0726..e70a98b 100644 --- a/behavior.el +++ b/behavior.el @@ -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