-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Don't push to nav history when scrolling #17592
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
Comments
What is the default behavior of vim here? Currently our jumpiest copies Zed's but I'd like to make it more useful. |
I don't remember the default behavior, but in Vim there is |
The current implementation in zed seems to pollute the jumplist with every scroll up/down. The implementation in vim/neovim seems to ignore adding scrolling up and down to the jumplist with commands like ctrl-u, ctrl-d, ctrl-f, ctrl-b. Even if it didn't I would like to have the ability to ignore these since often i will do something like:
|
vim::ScrollUp/Down
are included in the jumplist
I think we can fix this by adding a flag to the editor to say "don't push to nav history" when we scroll. If anyone wants to pair with me on this: https://cal.com/conradirwin/pairing |
Any update on this? It's kinda the only thing holding me back from using zed more often. |
Stock Vim 9.1 (no plugins) doesn't update the jump list when scrolling up/down Fixing this would probably make Zed fully compatible with my previous Vim workflow 🤞🏻 |
Check for existing issues
Describe the feature
Option to control either jumps made via
vim::ScrollUp/Down
are included in the jumplist.If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: