Show Menu
Cheatography

fzf in zsh Cheat Sheet (DRAFT) by

Shows how to install, configure and use fzf as part of zsh.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Instal­lation

Do install zsh in your Linux distri­bution, and on top of it, install oh-my-zsh. See Installing ZSH how to do that.
Then do install oh-my-zsh on top of that. See Install Oh-My-Zsh on how to do that.
Last ensure that
fzf
is installed on your system. See fzf instal­lation on how to do that.

Config­uration

Then you have to configure
oh-my-zsh
so that
fzf
is configured as well.

Find in the config­uration file the lines that enables the plugins
plugin­s=(...)


Add to that list
fzf

Additional Resources

Using FZF to Preview Text Files on the Command Line and within Vim
 

fzf explicit usage

You may call fzf without any argument directly from the command line, which then results in scanning the current directory and sub-di­rec­tories for files. By entering then search terms (with multiple ones separated by SPACE), the list of matches gets more concrete