-a flag to insert a window after an existing one, moving other windows

up necessary.
This commit is contained in:
Nicholas Marriott
2010-03-27 11:46:58 +00:00
parent d267845cfc
commit d3d85c3df9
2 changed files with 43 additions and 6 deletions

11
tmux.1
View File

@ -976,13 +976,22 @@ except the window at
is moved to
.Ar dst-window .
.It Xo Ic new-window
.Op Fl dk
.Op Fl adk
.Op Fl n Ar window-name
.Op Fl t Ar target-window
.Op Ar shell-command
.Xc
.D1 (alias: Ic neww )
Create a new window.
With
.Fl a ,
the new window is inserted at the next index up from the specified
.Ar target-window ,
moving windows up if necessary,
otherwise
.Ar target-window
is the new window location.
.Pp
If
.Fl d
is given, the session does not make the new window the current window.