summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-06-17 16:50:29 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-06-17 16:50:29 +0000
commitd599f43b521fb4c67be15bf2a2e218eb959f711d (patch)
tree5fa8300b7be0d0f7f8e3ef91afdaffbf259dbb02 /usr.bin/tmux/tmux.1
parent6ce537927c04b37a29c1663e0c5aa82be57bca95 (diff)
Move the shuffle code from new-window -a into a function and add a -a
flag for move-window too. From Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.112
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 003d3db810e..9e5e0b484b8 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.438 2015/06/15 10:58:01 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.439 2015/06/17 16:50:28 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: June 15 2015 $
+.Dd $Mdocdate: June 17 2015 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -1544,7 +1544,7 @@ If no
.Ar target-session
is specified, select the last window of the current session.
.It Xo Ic link-window
-.Op Fl dk
+.Op Fl adk
.Op Fl s Ar src-window
.Op Fl t Ar dst-window
.Xc
@@ -1558,6 +1558,10 @@ If
is specified and no such window exists, the
.Ar src-window
is linked there.
+With
+.Fl a ,
+the window is moved to the next index up (following windows
+are moved if necessary).
If
.Fl k
is given and
@@ -1623,7 +1627,7 @@ and
.Ar dst-pane
may belong to the same window.
.It Xo Ic move-window
-.Op Fl rdk
+.Op Fl ardk
.Op Fl s Ar src-window
.Op Fl t Ar dst-window
.Xc