fix(tmuxinator): allow tab/shift-tab to be used instead of up and down and allow cycling

This commit is contained in:
Oliver
2025-10-06 14:07:10 +02:00
parent 383a900c2d
commit 2d0acc2d70
2 changed files with 4 additions and 1 deletions

View File

@@ -25,7 +25,9 @@ sel="$(
printf '%s\n' "$items" | fzf \
--prompt='Project > ' \
--height=100% --layout=reverse \
--print-query --expect=enter
--print-query --expect=enter \
--bind 'tab:down,btab:up' \
--cycle
)" || exit 0
key="$(printf '%s\n' "$sel" | sed -n '1p')"

View File

@@ -67,6 +67,7 @@ set -g @plugin 'omerxx/tmux-sessionx'
set -g @plugin 'christoomey/vim-tmux-navigator'
bind-key s display-popup -w 30% -h 30% -E "~/.config/tmux/bin/fuzzy-switch.sh"
bind-key f display-popup -w 30% -h 30% -E "~/.config/tmux/bin/fuzzy-switch.sh"
# Initialise tmux plugin manager (needs to be at the bottom of the file)
run '~/.config/tmux/plugins/tpm/tpm'