summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-09 16:18:08 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-09 16:18:08 +0000
commitf87816c4ba00f2b60c10565698683e76dc9a86c4 (patch)
tree53b0f8a9210ce7c1e90ce59306dc1e2f521eb9c0 /tmux.1
parent73eee9a02635f0de49f7cfed849488f59214cb9d (diff)
Key bindings section.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.137
1 files changed, 35 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 18ad9d4e..2d4bffb2 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.4 2007-11-09 16:08:08 nicm Exp $
+.\" $Id: tmux.1,v 1.5 2007-11-09 16:18:08 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -80,9 +80,42 @@ is the pid of the server or client process.
.It Ar command Op Ar arguments
This specifies one of a set of commands used to control
.Nm ,
-and described in the following section.
+and described in the following sections.
.Pp
.El
+.Sh KEY BINDINGS
+.Nm
+may be controlled from an attached client by using a key combination of a
+prefix,
+.Ql ^A
+(ctrl-A) by default, and a command key.
+.Pp
+Some of the default key bindings include:
+.Pp
+.Bl -tag -width Ds -compact
+.It Ql d
+Detach current client.
+.It Ql c
+Create new window.
+.It Ql n
+Change to next window in the current session.
+.It Ql p
+Change to previous window in the current session.
+.It Ql l
+Move to last (previously selected) window in the current session.
+.It Ql \&?
+List current key bindings.
+.El
+.Pp
+A complete list may be obtained with the
+.Ic list-keys
+command (bound to
+.Ql \&?
+by default). Key bindings may be changed with the
+.Ic bind-key
+and
+.Ic unbind-key
+commands.
.Sh COMMANDS
.Nm
supports the following commands: