From 5d20e55d9389be9711d1760c4e60937dba6d3590 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Thu, 21 Sep 2023 15:08:50 -0400 Subject: [PATCH] Enable pixel-scroll-precision-mode of pixel-scroll --- init.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/init.el b/init.el index 2cbe078..c2e182d 100644 --- a/init.el +++ b/init.el @@ -637,6 +637,18 @@ have been closed." :custom (show-paren-delay 0.0 "Highlight matching delimiters instantly")) +;; ---------------------------------- ;; +;; pixel-scroll +;; ---------------------------------- ;; + +(editor-feature pixel-scroll + "Enables pixel-level animation of scrolling events." + :config + (pixel-scroll-precision-mode) + :custom + (pixel-scroll-precision-interpolate-page t "Enable pixel-level scrolling for page-wise scrolling events") + (pixel-wait 0.001 "Idle for a fraction of a second during each animation step for gentler animations")) + ;; ---------------------------------- ;; ;; savehist ;; ---------------------------------- ;;