Filter files as you type #41
Comments
@kszcode kindly published a plugin that implements functionality very similar to this one: https://github.com/kszcode/FuzzySearchFilesInCurrentFolder |
@rogenaro, you asked for a way (setting/hotkey) to toggle between exact and fuzzy matching (/regex). What exactly do you mean by "exact" and "fuzzy" matching? |
@mherrmann by fuzzy, I meant that we could type I misused the term "exact", I actually meant subsequent. In regex we would just type a regular expression and match the results ( Depending on the contents of the directory, switching between those modes can be useful and time-saving |
@rogenaro I see, thanks for the clarification :-) |
Implemented in fman 1.3.1. |
one thing, maybe add a visual distinctive to the panel to indicate that files are being filtered. |
Thanks! I'm happy to hear you like it. Regarding your suggestion, please file a new issue if you feel it's important. Makes it easier for me to keep track. |
I created the new issue for visual feedback that files are being filtered now: #511. |
Say you have
When you type
p
, onlyapple/
should remain in the list of files andp
should be highlighted. When you then press ESC, all files should be visible again. When you then typebanana
, onlybanana.txt
andbananajuice.txt
should be visible. Pressing Enter opens the currently selected file. Pressing Backspace deletes the last character from the current filter (eg.banana
->banan
). If no filtering is currently taking place (eg. because the user pressed ESC), then Backspace should go up in the directory hierarchy.This feature is closely related to #40 .
The text was updated successfully, but these errors were encountered: