From f87816c4ba00f2b60c10565698683e76dc9a86c4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 9 Nov 2007 16:18:08 +0000 Subject: [PATCH] Key bindings section. --- tmux.1 | 37 +++++++++++++++++++++++++++++++++++-- 1 file 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 .\" @@ -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: