Skip to content
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

allow configuring if movement is added to jumplist #28

Open
sibouras opened this issue Feb 24, 2025 · 2 comments
Open

allow configuring if movement is added to jumplist #28

sibouras opened this issue Feb 24, 2025 · 2 comments

Comments

@sibouras
Copy link

sibouras commented Feb 24, 2025

i don't like to clutter the jumplist, and the movement is intuitive in this plugin that even if i overshoot i press the opposite key and im back where i was

@sibouras sibouras changed the title allow configuring if movement is added jumplist allow configuring if movement is added to jumplist Feb 24, 2025
@aaronik
Copy link
Owner

aaronik commented Feb 24, 2025

Ah, I was wondering if this would come up. It does feel like Treewalker is putting too much into the jumplist.

I wonder if there's a solution that wouldn't require configuration - something like only adding to the jumplist if it jumps more than X number of lines, or if it scrolls, or only on left jumps or something like that. Any thoughts?

@sibouras
Copy link
Author

if u want no configuration then the X number of lines is better than if it scrolls because i can be at the bottom of a window(or have scrolloff set high) when i press the keybinds.

but a config like mini.bracketed would allow the user to choose the behavior per key, but if that's too much a config option to turn it off completely and another one to choose the number of lines would be amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants