Working Effectively with Panes and Windows
Throughout this book, you’ve seen ways to divide up your tmux sessions into panes and windows. Once you’ve divided them, you may want to work with them in different ways depending on your situation.
Turning a Pane into a Window
Panes are great for dividing up a workspace so you can see multiple programs at once, but sometimes, you might want to “pop out” a pane into its own window. tmux has a command to do just that.
Inside any pane, press Prefix
! and tmux will create a new window from your
pane, removing the original pane. The new window is focused and
appears in the tmux status bar. Use Prefix
p to return to the previous window. You may also
want to rename this window, which you can do with
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access