Book Image

Getting Started with tmux

By : Victor Quinn
Book Image

Getting Started with tmux

By: Victor Quinn

Overview of this book

Table of Contents (16 chapters)
Getting Started with tmux
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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. There are five different preset layouts that you can cycle through; these are even-horizontal, even-vertical, main-horizontal, main-vertical, and tiled.

Until you know what you like for a given use case, cycling through them is a pretty good...