Files
doomemacs/modules/ui/smooth-scroll/config.el
Henrik Lissner 5f04b56229 module: add :ui smooth-scroll
Normally, this would be too small to warrant its own module, but smooth
scrolling is one of those things that can tip large swaths of
fence-sitting beginners into Emacs' camp. I can't help but imagine how
many people get their impression that Emacs is "laggy" or "slow" solely
from the way it scrolls.

Don't get me wrong, there *are* good reasons to call Emacs slow, but
startup and scrolling speed are not it, yet they are easily overblown
because it's the first thing you see. I might even consider enabling
this by default, but I'll make that decision later.

Fix: #8335
2025-04-01 17:58:13 -04:00

9 lines
248 B
EmacsLisp

;;; ui/smooth-scroll/config.el -*- lexical-binding: t; -*-
(use-package! ultra-scroll
:hook (doom-first-input . ultra-scroll-mode)
:hook (doom-first-file . ultra-scroll-mode)
:init
(setq scroll-conservatively 101
scroll-margin 0))