summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
commita22a6deda500945b13687997f09279d62e91e0e8 (patch)
tree1439108eb46e166fcd1571c1a2dde87f3dba855e /tmux.1
parentbbf743769bf0e71dbd6c0cc96aa6817662b939e1 (diff)
Add -n and -p flags to switch-client to move to the next and previous
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 38f0687f..f1894113 100644
--- a/tmux.1
+++ b/tmux.1
@@ -660,6 +660,7 @@ Suspend a client by sending
.Dv SIGTSTP
(tty stop).
.It Xo Ic switch-client
+.Op Fl np
.Op Fl c Ar target-client
.Op Fl t Ar target-session
.Xc
@@ -668,6 +669,11 @@ Switch the current session for client
.Ar target-client
to
.Ar target-session .
+If
+.Fl n
+or
+.Fl p
+is used, the client is moved to the next or previous session respectively.
.El
.Sh WINDOWS AND PANES
A