Is there a file browser with fzf like capabilities

danhab99@programming.dev to Linux@lemmy.ml – 33 points –

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 :::

9

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 put map f shell -tf $SHELL ~/myscript.sh. When you press f it will launch myscript.sh in a new terminal with the selection as an argument.

man ranger and check shell command for appropriate flags. For example, skip the -t if your script is in turn going to launch a GUI application.

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.