-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smooth scrolling [Enhancement] #1781
Comments
We had a PR a while ago: #1670 But thank you 👍 |
We are using |
Just tested it. They address different issues. The
|
@sooheon you are right. I've tested it. It works nicely even on large file. I think this would make a user friendly addition for new comers. @ReneFroger Thank you for this awesome suggestion. Sorry for not testing it and jump to the conclusion so quickly. |
@tuhdo it's not a problem, I was surprised by your first comment, because I considered By the way, everyone, when you compare it with his Vim counterpart Smooth Scroll , it's even actually bad. Let me demonstrate it for you: https://www.youtube.com/watch?v=GCwZnBgR4DM I couldn't figure out how I could get the scrolling in Emacs so nicely as in Vim. Especially when you tap the scroll action multiple times in row, there is a noticable lag with it in Emacs, while you don't get the lag in Vim. |
@ReneFroger If you want Emacs scroll faster, try setting |
Yes, I'm aware of that. But that's not the problem. It's not so smooth as in Vim, you will notice Emacs scrolls line for line. The scroll configuration in Vim doesn't that. |
That I think is a limitation of emacs, at least from my experience with cocoa emacs on OS X. Even scrolling with the trackpad gives linewise scroll. |
For reference I mention here that there is pixel based scrolling with homebrew-emacsmacport version. There is even support for swipe gesture to switch buffer. Very nice version on OS X and one of the ingredients that make some users switch to emacs. |
I have the following in my config: ;;; scroll one line at a time (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(2 ((shift) . 1))) ;; two lines at a time
(setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
(setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse Works reasonably well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
yeah |
Any status of this? |
I guess someone needs to make a PR! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
PR opened: #14542 |
Thanks to Profpatsch. Fixes syl20bnr#1781
Smooth scroll plugin.
With the following settings:
Try scroll option, or with page-up and page-down. It gives
I believe this is a big improvement. Because when I'm scrolling, I have difficulties to recognize in which way the file was scrolling and where I exactly am. This package helps me with that.
The text was updated successfully, but these errors were encountered: