From fe5d285a50e1c2b2dda5df2773d0ca96f7de5661 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 26 Jul 2019 22:44:05 +0200 Subject: [PATCH] scroll-conservatively = 10 Match the vim default behavior of recenting the cursor in the window if it moves more than 10 lines above or below the ends of the window. --- core/core-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index cdbb77a3b..05c471920 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -177,7 +177,7 @@ read-only or not file-visiting." (setq hscroll-margin 2 hscroll-step 1 - scroll-conservatively 1001 + scroll-conservatively 10 scroll-margin 0 scroll-preserve-screen-position t ;; mouse