如何让鼠标滚轮滚动和buffer上下滚动同步

emacs evil模式下,浏览代码时还是常用鼠标滚轮,但是每次滚轮早已停下后,buffer还在慢慢滚动,要过一会儿才停,太多余了,这段时间眼睛无法聚集,很影响思路

请问有啥方法设置吗?

关闭pixel-scroll-mode,基本达到目的 ;; (pixel-scroll-mode)

并且按以下讨论设置后,可以鼠标滚轮滚一次对应一行

;; scroll one line at a time (less “jumpy” than defaults)

    (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;; one line at a time
    (setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
    (setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
    (setq scroll-step 1) ;; keyboard scroll one line at a time

https://www.emacswiki.org/emacs/SmoothScrolling