From a5e70559266fcc1e3230ad0de23e88d54d7f6083 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 28 Jul 2022 23:28:48 +0100 Subject: more conservative scrolling in term (to no avail) --- init.el | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 989a674..3bf30b1 100644 --- a/init.el +++ b/init.el @@ -1070,11 +1070,17 @@ ;;;; redisplay escape hatch (setq max-redisplay-ticks 2250000) ;;;; scrolling -(setq scroll-preserve-screen-position 'always - scroll-conservatively most-positive-fixnum - scroll-margin 4 - scroll-step 2 - redisplay-skip-fontification-on-input t) +(if window-system + (setq scroll-preserve-screen-position 'always + scroll-conservatively most-positive-fixnum + scroll-margin 0 + scroll-step 2 + redisplay-skip-fontification-on-input t) + (setq scroll-preserve-screen-position nil + scroll-conservatively 0 + scroll-margin 0 + scroll-step 1 + redisplay-skip-fontification-on-input nil)) ;;; Windows ;;;; splitting and switch @@ -2211,7 +2217,7 @@ (require 'paren) (show-paren-mode t) (setq show-paren-context-when-offscreen t - show-paren-when-point-inside-paren t) + show-paren-when-point-inside-paren nil) (use-package paredit :ensure t -- cgit v1.2.3