-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add filter ability to picker #232
Conversation
| down, ctrl-n | Next entry | | ||
| ctrl-space | Filter options | | ||
| enter | Open selected | | ||
| ctrl-h | Open horizontally | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is assuming we merged the other pull request I sent.
Quite cool. Is there a way to clear current filters? Does emacs also display currently applied filters somehow? |
Doom emacs does, not sure about emacs. Not sure if there is a way to clear filter. It is not very discoverable for this. I don't remember where I find this but I believe it's ivy. The behavior is based on
I can't do shift space for this since helix can't seemed to recognize it. Usually to reset this I will just search again, I wish there is an invert search thing, like just blacklist instead of whitelist but I don't know if such keys exists.
Not sure about emacs again, probably it's ivy in doom emacs. I don't see the filters applied, but even if it does I won't find it useful since I am the one that typed in the filters. |
That preview keybinding sounds nice. A similar idea could be what they do with https://github.com/nvim-telescope/telescope.nvim. A preview next to the picker |
Personally I would find it much more convenient to be able to see the filters I entered, especially when looking for something more complex. |
Yeah, no idea how to do that yet. At least it is not annoying enough for me to work on this yet.
The issue is even with a filter it isn't very helpful. Imagine we are doing fuzzy search, so the filter is not an exact filter, searching @archseer Is there anything that I need to change for this patch to be merged? I am thinking maybe later I might change it from |
There's a conflict in |
Inspired by doom emacs. Able to filter picker options multiple times.
Inspired by doom emacs. Able to filter picker options multiple times using ctrl-space.