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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.