-
Notifications
You must be signed in to change notification settings - Fork 471
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
Real-time filter current directory #137
Comments
I think #104 is what you expected, it was just merged 20 hours ago, you can build from source to experience it in advance! |
Thank you, it seems pretty close to what I want! But it'd be nice if it can also narrow down the search results, similar to |
This seems to be a duplication of the It searches for specific files and only displays matches. What you might be looking for is a feature to |
Hmm, I'm not really sure if this should be a part of of a |
This is a challenge for large directories IMO, because it involves matching all files in the entire directory with every keystroke and then relaying out the Vec, which requires a lot of memory movement. The current implementation of "Find" keeps the file list read-only and only checks and jumps to the first matching item. "Search" seems more suitable for such scenarios, even though it's not triggered with every keystroke. |
How does |
It seems like fzf may use multi-threading to speed up matching -- I'm not very familiar with the specific details of fzf. However, Yazi has already integrated fzf, so you can see if it meets your needs. Also, are there any other terminal file managers that have smoothly implemented this feature? I could use that as a reference. I've previously tried ranger's filtering feature, but it performed poorly with large directories (100,000 files) and was frustratingly slow. |
|
Okay, add it to the Feature Request and find time to implement it |
Added, closing this issue in favor of the Feature Requests list |
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hey @musjj, your feature request of "Filter files in real-time" has been implemented in #454 by @Rolv-Apneseth. |
ranger
,nnn
andlf
allows you to filter the current directory.yazi
already allows you to perform a recursive search usingfd
, but sometimes you just want to search for files within the current directory in real-time (search results are shown on every keypress, instantly).The text was updated successfully, but these errors were encountered: