fzf: add bind to move with tab/shift-tab
This commit is contained in:
parent
428cd6e20c
commit
8a3d2659b4
4
zshrc
4
zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue