From 2bba1f9db56179f50a1c8b026353b057b5772bd0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 1 Nov 2013 18:24:52 +0000 Subject: Emacs: Improve mouse/trackpad scrolling by only scrolling one line at a time --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/init.el b/emacs/init.el index bb701b58..a254dd86 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1149,7 +1149,8 @@ Also returns nil if pid is nil." (setq scroll-conservatively 100 ; Keep the cursor position when scrolling scroll-margin 1 - scroll-preserve-screen-position nil) + scroll-preserve-screen-position nil + mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control)))) (when menu-bar-mode (menu-bar-mode -1)) -- cgit 1.4.1