-
Notifications
You must be signed in to change notification settings - Fork 465
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
feature request for "find" aka jump to matching file/folder #81
Comments
There are two possibilities, provided you have the requirements installed. FD and ripgrep (rg). Those are executed with "s" and "S". You can consult (https://github.com/sxyazi/yazi/tree/main/config/preset) for default keycodes. I hope this is of help. |
It did help: I've added
to keymap.toml. Note that you have to copy the whole file as your ~/.config/yazi/keymap.toml does not get merged with the default one. I've tried s and S but it's a bit different than ranger's as ranger's |
Hi, thanks for the appreciation! Yazi integrates fzf and rg as the "search" feature; what you're looking for is called "find", which is documented in Feature requests, and I'll implement it sometime in the near future. It's true that there's a lot of optimization potential in Yazi, such as dynamically loading file metadata, putting file sorting into a separate blocking threads pool, etc. It's a matter of finding the performance bottlenecks and optimizing for them, but I'll probably need to install a Nix before I can do that 🤣 Regarding the last point, does "yes or no" refer to the prompt triggered by quitting while there are still tasks left to complete? |
cool ! let me know if you need testers
Yes that's exactly it. I am not sure what/how I created the tasks but the message mentioned those. |
You can press |
Done by #104, please give it a try! |
I am not sure what you meant by "filter" in the PR but here is what I would like to have in yazi, live update of the selected item upon keypress (it's enabled with Kooha-2023-09-06-00-08-33.webmNB: Kooha only worked with a fullscreen capture in my setup. |
Oh, I think I understand what you mean now. I will see if this is complex and try to implement it. |
You might be interested in #117 :) |
first time I started |
Currently, Yazi performs chunk pre-loading when the cursor is hovered. I am still considering whether it should be extended to direct opening -- this depends on whether the effect is noticeable. You can try |
wow indeed I just tried it and it was instantaneous !!!! Never dreamed of it considering how slow ranger and joshuto were. I will get you champagne if you come to france ;) |
Haha, thanks for your testing! I'm curious, how long does it take now? I only created 100,000 empty files for testing locally, and they take up almost no space. I'm not sure how it would perform under the pressure of 200GB. I haven't even installed NixOS yet 🤣 |
it is faster than anything I can notice, so I would say <100ms. |
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. |
thanks for creating this ! I used to use ranger but was tempted by joshuto for the rust bonus but either choice had issues and I feel yazi has strong foundamentals and can become the best choice for me:
The feature I miss the most currently is "search" or "filter". In ranger/joshuto, I could type
/
to start typing a folder name and go to it. Maybe it's possible in yazi but I couldn't find how ?NB: nitpicks: PageUp and PageDown are not bound byu default and when the prompt to quit appears asking for "yes or no", I think it should quit on "y" press while right now I had to press "Enter" too.
The text was updated successfully, but these errors were encountered: