terminal:tools:fzf
Table of Contents
fzf
General-purpose fuzzy finder. Filters any list interactively. Written in Go.
fzf # fuzzy-find files in current directory ls | fzf # fuzzy filter any piped list history | fzf # search shell history interactively
Shell Keybindings
After $(fzf –bash) or sourcing the provided scripts:
| Key | Action |
|---|---|
Ctrl+r | Fuzzy search shell history |
Ctrl+t | Fuzzy find files, paste path to command line |
Alt+c | Fuzzy find directories, cd into selected |
With bat Preview
fzf --preview 'bat --color=always --line-range :50 {}'
Install
sudo apt install fzf # then add to ~/.bashrc: eval "$(fzf --bash)"
See Also
terminal/tools/fzf.txt · Last modified: by 127.0.0.1
