summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2025-01-25 21:31:28 +0100
committerAlan Pearce2025-01-25 21:31:28 +0100
commit75afee2155e5480b05781c990b6a1a9f976881eb (patch)
treeb5c45962533811b957e204ef2b6f737e5a2725ec /user/emacs/init.el
parentf5edcbcd1ad1cc007629bd752afad6e35c6dcbee (diff)
downloadnixfiles-75afee2155e5480b05781c990b6a1a9f976881eb.tar.lz
nixfiles-75afee2155e5480b05781c990b6a1a9f976881eb.tar.zst
nixfiles-75afee2155e5480b05781c990b6a1a9f976881eb.zip
emacs: install ultra-scroll HEAD main
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index fe6e202a..508541f6 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -167,6 +167,13 @@
 (add-hook 'evil-insert-state-entry-hook #'noct-absolute)
 (add-hook 'evil-insert-state-exit-hook #'noct-relative)
 
+(use-package ultra-scroll
+  :defer 1
+  :config (progn
+            (setq scroll-margin 0
+                  scroll-conservatively 101)
+            (ultra-scroll-mode +1)))
+
 ;;; Encoding
 
 (setq-default bidi-paragraph-direction 'left-to-right