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

Goto next/prev in last picker #7921

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koalefant
Copy link

Hi, I am long time Vim user. I am tired of managing Vim plugins and configuration. Helix has a fantastic feature set out of the box and I would be happy to transition to it, however there are some features missing that are critical to my daily workflow.

One of them is being able to jump between global search results quickly. I discovered "last picker" but it takes five key strokes to use it the way I would like to (Space, ', Ctrl+n, Enter). I would be happy to get it down to two.

I noticed in #1017 there were a suggestion to use [p, ]p, I am proposing to use [[ and ]] as it is easy to type and would be useful for all picker types.

I realize that proposed implementation is ugly and fragile. I am looking for guidance to improve it.

@the-mikedavis
Copy link
Member

See #3360, I would prefer this to be solved with #1383

@koalefant
Copy link
Author

I was not aware of macros: thank you! 🙏

There is, however, an opportunity to give more context being a native command, for example one could show a match index and total number of matches without popping up the picker.

Perhaps this desires stems from the fact that the current implementation of picker provides little context when number of matches is large and and is actually less ergonomic than jumping directly to the location as it requires extra step to do so.

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

Successfully merging this pull request may close these issues.

2 participants