fzf v0.22.0 Release Notes
Release Date: 2020-08-02 // almost 4 years ago-
➕ Added more options for
--bind
backward-eof
eventsh # Aborts when you delete backward when the query prompt is already empty fzf --bind backward-eof:abort
refresh-preview
actionsh # Rerun preview command when you hit '?' fzf --preview 'echo $RANDOM' --bind '?:refresh-preview'
preview
action ```sh # Default preview command with an extra preview binding fzf --preview 'file {}' --bind '?:preview:cat {}'
# A preview binding with no default preview command # (Preview window is initially empty) fzf --bind '?:preview:cat {}'
# Preview window hidden by default, it appears when you first hit '?' fzf --bind '?:preview:cat {}' --preview-window hidden
➕ Added preview window option for setting the initial scroll offset
# Initial scroll offset is set to the line number of each line of # git grep output *minus* 5 lines git grep --line-number '' | fzf --delimiter : --preview 'nl {1}' --preview-window +{2}-5
➕ Added support for ANSI colors in
--prompt
stringSmart match of accented characters
- An unaccented character in the query string will match both accented and unaccented characters, while an accented character will only match accented characters. This is similar to how "smart-case" match works.
🔌 Vim plugin
tmux
layout option for using fzf-tmuxvim let g:fzf_layout = { 'tmux': '-p90%,60%' }