From: rush Date: Thu, 9 Jul 2026 12:11:42 +0000 (-0400) Subject: Set up typewriter-style scrolling X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=728c94d848f3793026f96b7530eab3ca4c361142;p=emacsinit.git Set up typewriter-style scrolling --- diff --git a/init.el b/init.el index e63b8bd..ffc185b 100644 --- a/init.el +++ b/init.el @@ -553,6 +553,14 @@ installed." (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) + ;;; Macro to open something in its own named frame ;; Start a repl in a new frame, open dired in a new frame, etc. etc.