Fzf, pretty complete thus has a bit of learning curve

I discovered how fzf is so practical and better than fd or find for most usage, but I don’t know how to get a few behaviours, due to my lack of skill certainly.
I suppose quite a lot people here must use fzf :-/ ?

Instead of printing the selected lines and returning to prompt, is that possible instead to past the entries in a row to the next in the next prompt, to allow a seamless command edition for instance ? using the execute command I guess.
So “opening a prompt” (sorry my unix language is broken) and pasting the result but not executing.

Also I wish that by default it shows hidden (dot starting entries/files) too, but what does fzf call upon to retry the working directory’s files names when using STDIN ?
I can’t find in the manual how to modify the command without piping from fd locate or ls -a …

I was pretty satisfied with fish autocompletion to navigate, but I wish it had fuzzy search and could look recursively.


I followed this tutorial last week https://dev.to/matrixersp/how-to-use-fzf-with-ripgrep-to-selectively-ignore-vcs-files-4e27

Now with this setup, I end up with two aliases I use everyday.
fz lets me fzf a folder and search for a file I’m looking for, but not necessarily need to edit in vim.
fv lets me do the same as above, but once I locate the file, hit Enter and it opens in vim.

SO fast and easy to use. Ofcourse I use fv much more than fz as I’m currently in my “phase” of ricing and modifying dotfiles, etc.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.