diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-03-27 11:46:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-03-27 11:46:59 +0000 |
commit | b486c3342fddb9407cfbacaebf45c675d95717d5 (patch) | |
tree | 84aee4e8d3476e0c143769fab9d0ac9a0c9b5c1e /usr.bin/tmux/tmux.1 | |
parent | f27bd1797fd6cdd96bb10166f6410133b65f9cc2 (diff) |
-a flag to insert a window after an existing one, moving other windows
up necessary.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index c94dd932d36..383144378cd 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.159 2010/03/26 19:30:40 jmc Exp $ +.\" $OpenBSD: tmux.1,v 1.160 2010/03/27 11:46:58 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 26 2010 $ +.Dd $Mdocdate: March 27 2010 $ .Dt TMUX 1 .Os .Sh NAME @@ -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. |