Working Effectively with Panes and Windows

Throughout this book, you’ve seen ways to divide up your tmux sessions into panes and windows. In this section, we’ll look at more advanced ways to work with those panes and windows.

Turning a Pane into a Window

Panes are great for dividing up a workspace, but sometimes we need to “pop out” a pane into its own window to make reading things easier. tmux has a command to do just that.

Inside any pane, press Prefix ! and tmux will create a new window from your pane.

Turning a Window into a Pane

Occasionally, it’s nice to consolidate a workspace. We can easily take a window and turn it into a pane. To do this, we issue the join-pane command.

When we “join” a pane, we’re essentially moving a pane from ...

Get 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.