mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
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
This commit is contained in:
8
modules/ui/smooth-scroll/config.el
Normal file
8
modules/ui/smooth-scroll/config.el
Normal file
@@ -0,0 +1,8 @@
|
||||
;;; 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))
|
Reference in New Issue
Block a user