aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 08:20:54 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 08:20:54 +0000
commitea8a8d39d4e2fdada7a0bdd8df8de868d552cb15 (patch)
tree8f94dead4cd7c6d24c94a67400d0868f2c6ec858
parentc8e27271e240bbdab2925a00c09a17e613399ae9 (diff)
downloadrtmux-ea8a8d39d4e2fdada7a0bdd8df8de868d552cb15.tar.gz
rtmux-ea8a8d39d4e2fdada7a0bdd8df8de868d552cb15.tar.bz2
rtmux-ea8a8d39d4e2fdada7a0bdd8df8de868d552cb15.zip
Document command sequences.
-rw-r--r--TODO1
-rw-r--r--tmux.115
2 files changed, 14 insertions, 2 deletions
diff --git a/TODO b/TODO
index cf994ca4..88b6bd70 100644
--- a/TODO
+++ b/TODO
@@ -87,5 +87,4 @@
- attach should have a flag to create session if it doesn't exist
(hopefully) for 0.7, in no particular order:
-- document command sequences
- document automatic-rename
diff --git a/tmux.1 b/tmux.1
index 3bd17c38..36857100 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.77 2009-02-06 19:36:17 tcunha Exp $
+.\" $Id: tmux.1,v 1.78 2009-02-07 08:20:54 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -325,6 +325,15 @@ When the argument does not contain a colon (:),
first attempts to parse it as window index; if that fails, an attempt is made
to match a session or client name.
.Pp
+Multiple commands may be specified together as part of a
+.Em command sequence .
+Each command should be separated by spaces and a semicolon
+.Eo ( Ql \& \&; \& Ec ) ;
+commands are executed sequentially from left to right.
+A literal semicolon may be included by escaping it with a backslash (for
+example, when specifying a command sequence to
+.Ic bind-key ) .
+.Pp
Examples include:
.Pp
.Bd -literal -offset indent
@@ -333,6 +342,10 @@ refresh-client -t/dev/ttyp2
rename-session -tfirst newname
set-window-option -t:0 monitor-activity on
+
+new-window ; split-window -d
+
+bind-key D detach-client \e\; lock-server
.Ed
.Pp
The following commands are available: