from Stack Exchange
Select target pane and enter Prefix
-:
break-pane -dP
Tmux sends target pane to a window in the background (-d
flag) and prints information (-P
flag)
Select pane below target then enter Prefix
-:
join-pane -vs 1:2.0
It tells tmux to split target pane vertically (-v
) and to join the source pane (-s
) with identifier 1:2.0
, where 1
is the pane number, 2
is the window number