superfile icon indicating copy to clipboard operation
superfile copied to clipboard

Fuzzy file search

Open TENX-S opened this issue 9 months ago • 4 comments

Hi, I've been using superfile for a while now, and I think it's a fantastic project! However, I've noticed that there isn't a fuzzy search feature for files, which I believe would be quite useful in many scenarios. I'd love to hear your thoughts on this!

TENX-S avatar May 11 '24 02:05 TENX-S

I second this. Could be a very powerful and useful feature

mactanxin avatar May 13 '24 02:05 mactanxin

seems like a fun idea lemme try this out

chintanpuggalok avatar May 13 '24 03:05 chintanpuggalok

Can you explain "fuzzy search" in more detail?

yorukot avatar May 13 '24 05:05 yorukot

I guess fzf is a very good one, also telescope.nvim

mactanxin avatar May 13 '24 06:05 mactanxin

Just a notice that I am currently trying to find a way to move the fzf code to superfile (I don’t want to require dependencies to search for files)

yorukot avatar Jun 12 '24 14:06 yorukot

Just a notice that I am currently trying to find a way to move the fzf code to superfile (I don’t want to require dependencies to search for files)

As far as I understand, you can simply use the code from the repository as a project dependency. Here is a project that uses fzf as a dependency: https://github.com/Equationzhao/g

MrPandir avatar Jun 12 '24 15:06 MrPandir

https://pkg.go.dev/github.com/reinhrst/[email protected] For the package I use now, it separates the algorithm part of fzf and generates the golang package. So his algorithm is the same as fzf

yorukot avatar Jun 13 '24 05:06 yorukot