From a22a6deda500945b13687997f09279d62e91e0e8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 8 Sep 2010 22:02:28 +0000 Subject: 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". --- tmux.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmux.1') 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 -- cgit