I am a new emacs user and I feel very uncomfortable when I scroll a buffer using mouse in emacs. As I keep scrolling, emacs stops only when the last line of buffer hits the top visible row. Though the minibuffer screams end of buffer, the scrolling keeps going on, which is very annoying.
How can I make emacs behave like any other editor/browser while scrolling using a mouse?
Try adding this to your .emacs ( ~/.emacs ). This works for me on OSX. More info here
;; 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With