Fuzzy-select from a list without leaving the keyboard.
fzf
Select from a command
git log --format='%h %s' | fzf | cut -d' ' -f1 | xargs git show
Pick a file by name
fzf --preview 'head -20 {}' --preview-window=right:60%
Search history without retyping
history | fzf --tie=ctrl-r --bind 'ctrl-r:toggle-sort' | sed 's/^[ ]*[0-9]*[ ]*//' | eval "$(fc -s -)"
The fc -s - at the end is what executes the chosen line. Without it fzf only prints it.