From 3a9146071b32a447fac481712f8c5f3e7a72e78f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Wed, 19 Nov 2025 11:18:30 +0100 Subject: [PATCH] Try out ultra-scroll-mode.el for smoother scrolling `pixel-scroll-precision-mode` displays the last line in eshell buffers only partially, while `ultra-scroll-mode` does not. This is an additional external package, but it might be worth a try. Also see https://github.com/jdtsmith/ultra-scroll/. --- init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 65323e9..f716e02 100644 --- a/init.el +++ b/init.el @@ -666,6 +666,10 @@ split horizontally again, but this extra work should not matter much." (add-hook 'textile-mode-hook #'turn-on-visual-line-mode) (add-hook 'textile-mode-hook #'turn-on-visual-fill-column-mode))) +(use-package ultra-scroll + :ensure t + :commands (ultra-scroll-mode)) + (use-package visual-fill-column :ensure t :autoload (turn-on-visual-fill-column-mode @@ -3082,7 +3086,6 @@ Note that this workaround is incomplete, as explained in this comment." (global-auto-revert-mode -1) (global-eldoc-mode +1) (global-visual-wrap-prefix-mode +1) - (pixel-scroll-precision-mode +1) ;; Activate modes (packages) @@ -3094,7 +3097,8 @@ Note that this workaround is incomplete, as explained in this comment." global-git-commit-mode marginalia-mode vertico-mode - global-diff-hl-mode)) + global-diff-hl-mode + ultra-scroll-mode)) (with-demoted-errors "Cannot activate mode: %s" (funcall mode +1)))