Is there a file browser with fzf like capabilities
I feel like I'd use my file browser if it was easier to get around. ctrp-p like zoxide/fzf would be game changing.
Edit: sry tbh I wasn't clear.. I was asking for a GUI file browser, sry ranger covers my tui needs
::: spoiler spoiler No electron :::
lf is a TUI file manager. In its Wiki, you'll find a snippet to search with fzf and map it to a key.
lf Wiki / Integrations / fzf
I second this. lf is basically ranger but you can integrate any shell commands or tools into it. It'll require a bit of setting up though as the defaults are bare bones.
Shell commands can easily be integrated into
ranger
.Are you doing this via rifle? That was how I was doing it in ranger, but with lf you can make custom shell commands directly in the config and assign custom hotkeys to it.
In
rc.conf
putmap f shell -tf $SHELL ~/myscript.sh
. When you pressf
it will launchmyscript.sh
in a new terminal with the selection as an argument.man ranger
and checkshell
command for appropriate flags. For example, skip the-t
if your script is in turn going to launch a GUI application.Emacs find-file with vertico and orderless achieve this nicely.
Check out basht
Ranger does this ableit with a plugin. https://github.com/cjbassi/ranger-fzf
Qt based file managers (PCManFM, Dolphin) usually have a filter input that's quite useful. It's limited to the current folder, and not a fuzzy finder, though.