Switching tmux zoom between panes without zooming out
After zooming in to a tmux pane, I'd like to zoom in on another pane (preferably the next) without zooming out first.
How can I do it?
Solution 1:
Add this line to your .tmux.conf file
bind -r a select-pane -t .+1 \; resize-pane -Z
Now press (prefixa) will loop through current window's panes (select-pane -t .+1
) and zooming them (resize-pane -Z
) , after pressing the prefix key just once , you can press a again and again to loop through panes because of the -r
option (bind -r a
).
You have the freedom to change the a key to another one.