fzf: add bind to move with tab/shift-tab

This commit is contained in:
Jeremy Gardais 2022-02-28 16:34:13 +01:00
parent 428cd6e20c
commit 8a3d2659b4
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

4
zshrc
View File

@ -1809,10 +1809,10 @@ fi
autoload is-at-least
if is-at-least 0.29.0 $(fzf --version); then
export FZF_DEFAULT_OPTS="--cycle --multi --select-1 --bind change:first"
export FZF_DEFAULT_OPTS="--cycle --multi --select-1 --bind 'change:first,tab:down,shift-tab:up'"
else
## change:first is unknown in FZF before 0.29.0
export FZF_DEFAULT_OPTS="--cycle --multi --select-1"
export FZF_DEFAULT_OPTS="--cycle --multi --select-1 --bind 'tab:down,shift-tab:up'"
fi
# Auto-completion