khard
khard copied to clipboard
Suggestion: use fzf for interactive selection
Suggestion:
Khard displays some interacting prompt when a search query yields multiple choices for example.
The current prompt has a bunch of UX issues, such as:
- showing too many lines or columns, overflowing the terminal window,
- relying on copying some numeric index manually,
- not being searchable.
I think this prompt could instead leverage fzf
, an interactive fuzzy finder
prompt (or a similar alternative). Some Python bindings exist.
It looks like this:
Related issues:
Someone worked on a wrapper script using fzf as the selection prompt some years ago. Though I think it would be nicer to have it by default.
- https://github.com/lucc/khard/issues/140
- https://github.com/lucc/khard/issues/141
Also related: #326. When this is merged we will have one central place and can just replace pythons input()
with fzf somehow.
This is not interesting to me but if somebody is interested it can be added as an optional feature or so. I am happy to help with the plan though.