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 jumplist picker to optionally select last used location on new() #2947

Open
atusy opened this issue Feb 25, 2024 · 0 comments · May be fixed by #2948
Open

allow jumplist picker to optionally select last used location on new() #2947

atusy opened this issue Feb 25, 2024 · 0 comments · May be fixed by #2948
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@atusy
Copy link
Contributor

atusy commented Feb 25, 2024

Is your feature request related to a problem? Please describe.

When using jumplist picker, I often feel I want to start selection relative to the last used jump position.

Describe the solution you'd like

Add an boolean option to enable finding an appropriate default selection.

  • select_last_used: simply select the last used jump position even if current cursor is not on it

Describe alternatives you've considered

  • select_current: like select_last_used, but set the default_selection_index to 1 if the current cursor is not on the last used jump position.

Additional context

The idea comes from #2918

@atusy atusy added the enhancement Enhancement to performance, inner workings or existent features label Feb 25, 2024
@atusy atusy linked a pull request Feb 25, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant