summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-07 15:02:38 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-07 15:02:38 +0000
commitca413cf270d001df59a13dc1978236b2de8261e4 (patch)
tree7280499432219903909d933b7dd2312b2e15846b /tmux.1
parentb2b5d88f3f828c5ac972097967a58a192cad4fca (diff)
Sync OpenBSD patchset 831:
Now that parsing is common, merge some of the small, related commands together to use the same code. Also add some arguments (such as -n and -p) to some commands to match existing commands.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.132
1 files changed, 29 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 6e411368..ed5a75b1 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.286 2011-01-07 14:34:45 tcunha Exp $
+.\" $Id: tmux.1,v 1.287 2011-01-07 15:02:38 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -1259,6 +1259,7 @@ lower) with
.Fl U
or downward (numerically higher).
.It Xo Ic select-layout
+.Op Fl np
.Op Fl t Ar target-window
.Op Ar layout-name
.Xc
@@ -1267,8 +1268,16 @@ Choose a specific layout for a window.
If
.Ar layout-name
is not given, the last preset layout used (if any) is reapplied.
+.Fl n
+and
+.Fl p
+are equivalent to the
+.Ic next-layout
+and
+.Ic previous-layout
+commands.
.It Xo Ic select-pane
-.Op Fl DLRU
+.Op Fl lDLRU
.Op Fl t Ar target-pane
.Xc
.D1 (alias: Ic selectp )
@@ -1284,10 +1293,27 @@ or
.Fl U
is used, respectively the pane below, to the left, to the right, or above the
target pane is used.
-.It Ic select-window Op Fl t Ar target-window
+.Fl l
+is the same as using the
+.Ic last-pane
+command.
+.It Xo Ic select-window
+.Op Fl lnp
+.Op Fl t Ar target-window
+.Xc
.D1 (alias: Ic selectw )
Select the window at
.Ar target-window .
+.Fl l ,
+.Fl n
+and
+.Fl p
+are equivalent to the
+.Ic last-window ,
+.Ic next-window
+and
+.Ic previous-window
+commands.
.It Xo Ic split-window
.Op Fl dhvP
.Oo Fl l