From 728c94d848f3793026f96b7530eab3ca4c361142 Mon Sep 17 00:00:00 2001 From: rush Date: Thu, 9 Jul 2026 08:11:42 -0400 Subject: [PATCH] Set up typewriter-style scrolling --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.39.5