# [fzf](https://github.com/junegunn/fzf) Should install using git. ## Shell Add to `~/.bashrc`, `~/.zshrc`: ```sh # Use fd instead of find # In some distributions, use fdfind instead of fd export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" # Colorscheme export FZF_DEFAULT_OPTS='--color dark' export FZF_DEFAULT_OPTS='--color light' ``` | Shorcut | Explain | | -------- | ------------------------------------ | | `CTRL-T` | search through files and directories | | `CTRL-R` | search though command-line history | ## Editor Add to `~/.vimrc`, `~/.config/nvim/init.vim`: ```vim set rtp+=~/.fzf ``` | Command | Explain | | ------- | ------------------------------------------------------------ | | `:FZF` | search through files and directories under current directory |