diff options
-rw-r--r-- | init.el | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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 |