This may be my favorite CLI tool ever

68,306
0
Published 2024-07-05
50% Off Typecraft! typecraft.dev/
X: x.com/typecraft_dev
Discord: discord.gg/TfPqD3MWVq

FZF is my favorite tool for linux and unix systems. It has amazing features, its simple to use, and its fun! it works amazing and I think this is an essential tool for you to learn. This is a must have in your toolbox. You can fuzzily find anything on your machine, and you can also pipe output from other programs to FZF. it truly is amazing.

All Comments (21)
  • @catharsis7629
    You are one of the few devs who actually understands his tooling and is willing to take the time and effort required to properly learn them to make your workflow faster. More devs need to follow this mentality.
  • Also nice: 1. nvim Ctrl + t ( opens fzf. Of course works for any command ). 2. Ctrl + r opens shell command history
  • @tvntvn-b
    unalias does not remove the alias from your .zshrc, it only removes it from the environment of the current session. When you open a new terminal or source your zshrc, the alias will be added again.
  • @thecallumarnold
    If you use the `--bind "enter:become(nvim {})"` flag then it will open the selected file(s) in nvim for you (without needing to prepend your command with `nivm ...`), which means that you can cancel out of the fzf finder without neovim from being entered. With the command listed, escaping fzf will still open nvim, which might not be what you want if you're trying to escape the search. For completeness, this is my alias. alias nf='fzf -m --preview="bat --color=always {}" --bind "enter:become(nvim {+})"'
  • @gand0rfTRZ
    Why do you keep giving us great weekend projects?? Thanks for showing us this. Now I can't wait to get home and install it.
  • @sledgex9
    For those of us stuck with bash (eg from git for windows) and don't have the zsh history autocomplete, fzf integrates with bash history. So hit CTRL+R and you'll be able to fuzzily find past commands you run. Very handy for me.
  • @TheBecke1983
    Sweet, now i got my day planned. Don't know how I missed this program
  • @cbf305
    Great video. It made me realize I've only scratched the surface of fzf's power. Would you consider doing a showcase video of your mechanical keyboards? Whatever you are typing on in this video sounds really good.
  • @phortheman
    I use fzf every day for work. It’s probably the best CLI tool out there!
  • @bpbrainiak
    thanks nerd, your video + coffee = great day
  • @Kunal-k-u-m-a-r
    i used it before but learned new things today i hadn't figured out earlier
  • @japadkman
    with fzf on my shell i can press ctrl+r then it will fuzzy find any commands on my bash history, i use it quite often
  • @JakeLinux
    Fzf is one of my favorite tools, I have a few videos covering it on my channel. I made videos showing how I use it to make my menus, my app launcher, I even made a terminal file manager out of it. Great tool.
  • @QWEEKEN73
    That kill command looks insanely useful. Giving fzf a try!
  • @QuOUseTERSEa
    I think people should only use fzf when you need multi selections or “fuzzy” search. When you know what you’re searching, it doesn’t make sense to use fzf, since it’s much faster to use fd, grep, glob, etc. It slow down your process and just add an interface that make u feel fast 😂
  • @JonBrookes
    fzf is very nice as is your video and guide. Thanks. I picked up some very useful things I hadn't used. I also use cntrl r in bash and search history that way which is kind of similar but where fsf is not present