lightweight fzf usages

twitter logo github logo Updated on ・1 min read

effective and core usage of fzf is writing function in .bashrc or something like that.

this article focuses lightweight usages.

open vim with fzf

vim $(fzf)

open meld(diff tool) with fzf

 meld $(fzf -m)

read json REST Api with fzf

curl ... | json_pp | fzf
twitter logo DISCUSS (1)
markdown guide
 

I'm quite fond of using ripgrep along with the VSCode CLI launcher.

code $(rg $SEARCH -l)

I've recently pulled fzf in by doing

code $(rg $SEARCH -l | fzf)

I will admit to have written this as a Fish Shell function but it's just so useful.

Classic DEV Post from Jun 12

What are your favorite Linux utility/productivity tools?

r_tanaka profile image