Cycling through pane layouts

tmux provides us with a few different ways to change the pane layout automatically so you don't have to meticulously split and resize in odd ways to get to your desired result.

The most versatile of the bunch is a key binding that will essentially cycle through to a different preset pane layout each time you press a key combination. This key combination is <Prefix>, Space bar (cycle through pane layouts).

Try it out; press <Prefix>, Space bar, and you will see your panes move around. The content stays in them, so any programs in them would keep running fine, but they get rearranged and resized in different ways each time you use that key combination.

If you look at the status bar, you will see the name of the layout. ...

Get Getting Started with tmux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.