tmux pane breaking - MarekBykowski/readme GitHub Wiki
# To move around pane, first break it with "<prefix> !" (will break it into a separate window)
# then from within the pane send it to the window selected with "<prefix> s" below.
# Note the window must be preceded with ":", eg. :1
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
Or manually
- Break pane into a separate window
<prefix> ! -
<prefix> :then typejoin-pane -s 2.0 -t 0.1where
-sis move fromwindow.pane2.0
-tis move towindow0afterpane1
windows and panes are numbered from 0
This assumes tmux has 3 windows (numbered from 0)
-
0:firstwith 2x panes (see pane number 0 and 1 below, panes are also numbered from 0), -
1:secondwith 1x pane -
2:[tmux]with 1x pane in it that will be moved to window 0

In the end you will have 2x windows:
-
0:firstwith 3x panes (pane 3rd moved fromwindow.pane2.0) -
1:secondwith 1x pane