Fuzzy Finder FZF

Open source fuzzy finder, can be downloaded from the github.com/junegunn/fzf

Installation

Clone the repository and run the install script.

git clone --depth=1 https://github.com/junegunn/fzf && cd fzf && ./install

Would be good to update from time to time by running the command from the cloned fzf directory:
git pull && ./install

Daily usage

Keybinds

Check out the wiki page for more tips on how to configure shell key bindings.

export FZF_CTRL_OPTS="
--preview 'bat -n --color=always {}'
--bind 'ctrl-/:change-preview-window(down|hidden|)'
"
# ctrl-/ to toggle small preview window to see the full command
# ctrl-y to copy the command into the clipboard using pbcopy
export FZF_CTRL_R_OPTS="
--preview 'echo {}' --preview-window up:3:hidden:wrap
--bind 'ctrl-/:toggle-preview'
--bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort'
--color header:italic
--header 'Press CTRL-Y to copy command into clipboard'
"
# print tree structure in the preview window
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -300'"

Configuration