Use fzf-tmux -p instead of -w

This commit is contained in:
flyingscorpio@clevo 2022-10-01 12:49:25 +02:00
parent 6f23791586
commit 7248fbadc8

View file

@ -51,7 +51,7 @@ bind-key -r L resize-pane -R 5
# fuzzy switch to session
unbind-key s
bind-key s run-shell -b "tmux switch-client -t $(tmux list-sessions | awk -F: '{print $1}' | fzf-tmux -w 50% | tr -d '\n')"
bind-key s run-shell -b "tmux switch-client -t $(tmux list-sessions | awk -F: '{print $1}' | fzf-tmux -p | tr -d '\n')"
# plugins
set-option -g @plugin 'tmux-plugins/tpm'