feat(tmux): tab cycling in fzf menu
This commit is contained in:
parent
d3bf12cd5e
commit
66bb08a653
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue