feat(tmux): tab cycling in fzf menu

This commit is contained in:
Matej Janezic 2024-01-25 23:18:54 +01:00
parent d3bf12cd5e
commit 66bb08a653
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ else
if ! [[ -f "$GGROOT/compiled" ]]; then if ! [[ -f "$GGROOT/compiled" ]]; then
find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname > "$GGROOT/compiled" find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname > "$GGROOT/compiled"
fi fi
selected=$(cat "$GGROOT/compiled" | fzf) selected=$(cat "$GGROOT/compiled" | fzf --cycle --bind 'tab:toggle-up,btab:toggle-down')
fi fi
if [[ -z $selected ]]; then if [[ -z $selected ]]; then