Invert tab/shift-tab behaviour

This commit is contained in:
gardouille 2022-11-28 08:19:15 +01:00
parent e98ed2fcb7
commit c445561a7d
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 2 deletions

3
zshrc
View File

@ -293,7 +293,6 @@ alias vil='vi *(.om[1]^D)'
## Faire précéder la commande d'un espace empêche l'enregistrement dans l'historique du shell
alias vnb='vi -n "+set noundofile" "+set nobackup"'
# Différence entre deux fichiers
alias diff='colordiff -u'
alias diffs='\diff --side-by-side'
@ -1933,7 +1932,7 @@ 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,tab:down,shift-tab:up'"
export FZF_DEFAULT_OPTS="--cycle --multi --select-1 --bind 'change:first,shift-tab:down,tab:up'"
else
## change:first is unknown in FZF before 0.29.0
export FZF_DEFAULT_OPTS="--cycle --multi --select-1 --bind 'tab:down,shift-tab:up'"