fix(tmuxinator): allow tab/shift-tab to be used instead of up and down and allow cycling
This commit is contained in:
@@ -25,7 +25,9 @@ sel="$(
|
|||||||
printf '%s\n' "$items" | fzf \
|
printf '%s\n' "$items" | fzf \
|
||||||
--prompt='Project > ' \
|
--prompt='Project > ' \
|
||||||
--height=100% --layout=reverse \
|
--height=100% --layout=reverse \
|
||||||
--print-query --expect=enter
|
--print-query --expect=enter \
|
||||||
|
--bind 'tab:down,btab:up' \
|
||||||
|
--cycle
|
||||||
)" || exit 0
|
)" || exit 0
|
||||||
|
|
||||||
key="$(printf '%s\n' "$sel" | sed -n '1p')"
|
key="$(printf '%s\n' "$sel" | sed -n '1p')"
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ set -g @plugin 'omerxx/tmux-sessionx'
|
|||||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
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 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)
|
# Initialise tmux plugin manager (needs to be at the bottom of the file)
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user