Last Updated: February 25, 2016
·
1.7K
· rstacruz

Tmux: quicker way to switch panes

Why not use the F keys?

bind-key -n F1 select-window -t :1
bind-key -n F2 select-window -t :2
bind-key -n F3 select-window -t :3
bind-key -n F4 select-window -t :4
bind-key -n F5 select-window -t :5

BONUS: If you're not comfortable with that, an alternative is to use F1 as a prefix key.

set -g prefix2 F1