How to Use: fzf

Install Link to heading

sudo pacman -S fzf

Setup Link to heading

Add the following lines to your .bash_profile:

[[ -f /usr/share/fzf/completion.bash   ]] && . /usr/share/fzf/completion.bash
[[ -f /usr/share/fzf/key-bindings.bash ]] && . /usr/share/fzf/key-bindings.bash

Usage Link to heading

You have the following keybindings in an interactive bash shell:

Key binding Description
Ctrl + r Fuzzy search through your bash history.
Ctrl + t fuzzy search a file in your current directory.

Best used with the following bash config: