From 0f13a086539c0c522e98fa8e6e335b2236e9a0e6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 23 May 2014 11:15:22 +0100 Subject: [PATCH] Modify scroll behavior --- behavior.el | 5 ++--- custom-variables.el | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/behavior.el b/behavior.el index 70d80f4..9a101ab 100644 --- a/behavior.el +++ b/behavior.el @@ -60,10 +60,9 @@ (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-margin 3 + scroll-margin 4 scroll-step 1 - scroll-conservatively 10000 - scroll-preserve-screen-position 1) + scroll-conservatively 10000) ;; Enable mouse support when running in a console (unless window-system diff --git a/custom-variables.el b/custom-variables.el index 58e4b61..1256648 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -113,7 +113,6 @@ '(projectile-globally-ignored-files (quote ("TAGS" "*.log"))) '(ruby-use-encoding-map nil) '(safe-local-variable-values (quote ((eval rainbow-mode 1)))) - '(scroll-margin 4) '(scss-compile-at-save nil) '(search-exit-option nil) '(smooth-scroll-margin 6)