jacek-kurlit / pik

Process Interactive Kill
https://crates.io/crates/pik
MIT License
188 stars 7 forks source link

telescope like fuzzy search #2

Closed jacek-kurlit closed 2 months ago

jacek-kurlit commented 4 months ago

Currently search matches exact words but in case of searching through path it is better to use fuzzy search like in nvim telescope.

jacek-kurlit commented 4 months ago

This lookspromising https://github.com/lotabout/fuzzy-matcher

grouzen commented 2 months ago

I am interested in implementing this one and have been looking into it for a while.

grouzen commented 2 months ago

What do you think about applying this to the rest of the types of queries? I guess it will only be Cmd and probably Args. I don't think it is good to add it for ports search.

jacek-kurlit commented 2 months ago

Yes I would apply this to all other queries including ports since now pik is using contains to search for ports this is why you can start typing port ':8' and it will return all ports containing 8

jacek-kurlit commented 2 months ago

Now I see that my first comment under this thread is misleading, I didn't mean only Path to have fuzzy search but all of queries. I just haven't update this. Sorry for misleading

grouzen commented 2 months ago

I'll do it for the rest of them then.

grouzen commented 2 months ago

@jacek-kurlit I think this one can be closed.