aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-05-29 17:54:05 +0200
committeralex <alex@pdp7.net>2023-05-29 17:54:05 +0200
commit868cf80de4c1f6409b6bffd7a92cd8fb3da8e84c (patch)
tree6ddb01cf77d15f94519b1bebffa9e6f75c474a69
parentc4d5faac25defd1fed6f7e3ad7258ed507af9952 (diff)
Make scrolling smooth
-rw-r--r--emacs/emacs.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index bc03232a..c6864c55 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -26,6 +26,11 @@
(setq column-number-mode t)
(setq-default show-trailing-whitespace t)
+;; From https://www.emacswiki.org/emacs/SmoothScrolling#h5o-8
+(setq scroll-step 1)
+(setq scroll-conservatively 10000)
+(setq auto-window-vscroll nil)
+
;; Colorblind friendly theme.
;; Emacs 28 has modus themes, but EL9 only has emacs 27