summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-03-27 11:46:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-03-27 11:46:58 +0000
commitd3d85c3df9970820eb114c6fb6378f4db72e1d3c (patch)
tree6dbc05f7417c4b18d673f7cc88c461b4d9f29e69 /tmux.1
parentd267845cfcdfaad214e1d34d55637fb9f9c2c11b (diff)
-a flag to insert a window after an existing one, moving other windows
up necessary.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 10 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 6509069f..351aec44 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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.