To do this, we need to use the tmux command pane, which we can access with C-b. If all/nothing is not the desired approach, we can also resize the pane using the resize-pane command. Both zooms use the same key and the direction depends on the current state (i.e., if you’re currently zoomed in, zooming will zoom out and vice versa). Zooming out will collapse it back to the size it was before. Zooming in to a pane that’s in focus will expand it to fill the entire terminal window. We can also resize panes in two ways - zooming in/out and resizing up/down, left/right. To close a window pane, you can type exit or use C-d
It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. The tmux project describes tmux in the following way:
TMUX RESIZE PANE HOW TO
This post is mostly a list of reminders for how to use tmux to effectively manage terminal windows.
Well, looks like I’m getting to tmux first. Right next to making a concerted effort to learn vim. Learning tmux has been on my list of projects for months.