Add move-pane command (like join-pane but allows the same window). Also

-b flag to join-pane and move-pane to place the pane to the left or
above. From George Nachman.
This commit is contained in:
Nicholas Marriott
2012-03-03 08:31:18 +00:00
parent 4d9ccd3229
commit 07ac16807f
6 changed files with 80 additions and 18 deletions

24
tmux.1
View File

@ -1105,7 +1105,7 @@ choice list is shown.
This command only works from inside
.Nm .
.It Xo Ic join-pane
.Op Fl dhv
.Op Fl bdhv
.Oo Fl l
.Ar size |
.Fl p Ar percentage Oc
@ -1122,6 +1122,12 @@ and creating a new pane, split it and move
into the space.
This can be used to reverse
.Ic break-pane .
The
.Fl b
option causes
.Ar src-pane
to be joined to left of or above
.Ar dst-pane .
.It Xo Ic kill-pane
.Op Fl a
.Op Fl t Ar target-pane
@ -1210,6 +1216,22 @@ For the meaning of the
flag, see the
.Sx FORMATS
section.
.It Xo Ic move-pane
.Op Fl bdhv
.Oo Fl l
.Ar size |
.Fl p Ar percentage Oc
.Op Fl s Ar src-pane
.Op Fl t Ar dst-pane
.Xc
.D1 (alias: Ic movep )
Like
.Ic join-pane ,
but
.Ar src-pane
and
.Ar dst-pane
may belong to the same window.
.It Xo Ic move-window
.Op Fl dk
.Op Fl s Ar src-window