From 8a3d2659b49eb879d614148316272dbefd97183e Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 28 Feb 2022 16:34:13 +0100 Subject: [PATCH] fzf: add bind to move with tab/shift-tab --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 984afd6..c000b71 100644 --- a/zshrc +++ b/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