From: rush Date: Thu, 9 Jul 2026 18:21:43 +0000 (-0400) Subject: Turn off typewriter scrolling, keep hl-line mode X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=23b998fe0050723371050e4d6467baa840b9f35e;p=emacsinit.git Turn off typewriter scrolling, keep hl-line mode --- diff --git a/init.el b/init.el index f2b0170..1de3a45 100644 --- a/init.el +++ b/init.el @@ -518,6 +518,7 @@ installed." (blink-cursor-mode -1) (delete-selection-mode t) +(global-hl-line-mode) ; Show the center with a white background (setq delete-by-moving-to-trash t delete-pair-blink-delay 0 @@ -552,16 +553,7 @@ installed." (keymap-global-set "C-x C-p" #'backward-page) (keymap-global-set "" #'forward-page) (keymap-global-set "" #'backward-page) - -;;; Typewriter scrolling -;; Puts the active line always in the middle of the screen -(setq scroll-preserve-screen-position t - scroll-conservatively 0 - maximum-scroll-margin 0.5 - scroll-margin 65535) - -(global-hl-line-mode) ; Show the center with a white background ;;; Macro to open something in its own named frame ;; Start a repl in a new frame, open dired in a new frame, etc. etc.