From 7c4671a860f5124a64865cfb08a518e88cd31986 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 30 Mar 2018 01:10:33 -0400 Subject: [PATCH] Modify default scrolling behavior --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index d6ee9d7..963bde4 100644 --- a/init.el +++ b/init.el @@ -51,6 +51,9 @@ x-gtk-use-system-tooltips nil ; Don't use system tooltips mouse-wheel-progressive-speed nil ; Don't accelerate mouse scrolling custom-file "~/.emacs.d/custom.el" ; Use separate custom-vars file + scroll-preserve-screen-position 1 ; Don't move cursor while scrolling + scroll-conservatively 100000 ; Scroll one line at a time + scroll-margin 6 ; Maintain a margin while scrolling ) ;; Set backup behavior.