From 51487ed22f0acf199f64728f3efc15a3c9ad615f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 11 Dec 2010 18:39:25 +0000 Subject: Track the last session for a client and add a flag to switch-client and a key binding (L) to move a client back to its last session. --- tmux.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 28f71d83..2ebe43ce 100644 --- a/tmux.1 +++ b/tmux.1 @@ -282,6 +282,8 @@ Briefly display pane indexes. Force redraw of the attached client. .It s Select a new session for the attached client interactively. +.It L +Switch the attached client back to the last session. .It t Show the time. .It w @@ -662,7 +664,7 @@ Suspend a client by sending .Dv SIGTSTP (tty stop). .It Xo Ic switch-client -.Op Fl np +.Op Fl lnp .Op Fl c Ar target-client .Op Fl t Ar target-session .Xc @@ -672,10 +674,12 @@ Switch the current session for client to .Ar target-session . If +.Fl l, .Fl n or .Fl p -is used, the client is moved to the next or previous session respectively. +is used, the client is moved to the last, next or previous session +respectively. .El .Sh WINDOWS AND PANES A -- cgit