xplr
xplr copied to clipboard
[Discussion] Implement SearchFuzzy to replace filtered search
Filtered search works well for basic use cases, but there's no way to sort the results based on how close they are to the search input. Adding the functionality will add some complexity and a Rust dependency. It also needs to play nice with the filters and sorters.
It's possible to integrate xplr with tools like fzf to work around the limitation.
However, since xplr claims to be intuitive, should it default to the more intuitive fuzzy search? Or should it just stay stupid, simple and depend on external tools for the complex stuff, like it already does?
+1 for first option: adding fuzzy search.
+1 for first option: adding fuzzy search.
+1
I came up with this implementation: https://github.com/sayanarijit/xplr/pull/511
Looking for review/feedback.