summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-11 18:39:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-11 18:39:25 +0000
commit51487ed22f0acf199f64728f3efc15a3c9ad615f (patch)
treed7702647b5c8d0337b0f5708118359ebd78e95d6 /tmux.1
parent20ed20ea1eb996cbfc530688dac7646f58a43fe6 (diff)
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.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.18
1 files changed, 6 insertions, 2 deletions
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