version 1.92, 2009/09/24 14:17:09 |
version 1.93, 2009/10/04 08:50:05 |
|
|
Move up a pane. |
Move up a pane. |
.El |
.El |
.Sh KEY BINDINGS |
.Sh KEY BINDINGS |
|
.Nm |
|
allows a command to be bound to most keys, with or without a prefix key. |
|
When specifying keys, most represent themselves (for example |
|
.Ql A |
|
to |
|
.Ql Z |
|
). |
|
Ctrl keys may be prefixed with |
|
.Ql C- |
|
or |
|
.Ql ^ |
|
, and Alt (meta) with |
|
.Ql M- . |
|
In addition, the following special key names are accepted: |
|
.Em BSpace , |
|
.Em BTab , |
|
.Em DC |
|
(Delete), |
|
.Em End , |
|
.Em Enter , |
|
.Em Escape , |
|
.Em F1 |
|
to |
|
.Em F20 , |
|
.Em Home , |
|
.Em IC |
|
(Insert), |
|
.Em NPage |
|
(Page Up), |
|
.Em PPage |
|
(Page Down), |
|
.Em Space , |
|
and |
|
.Em Tab . |
|
Note that to bind the |
|
.Ql \&" |
|
or |
|
.Ql ' |
|
keys, quotation marks are necessary, for example: |
|
.Bd -literal -offset indent |
|
bind-key '"' split-window |
|
bind-key "'" select-prompt |
|
.Ed |
|
.Pp |
Commands related to key bindings are as follows: |
Commands related to key bindings are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Xo Ic bind-key |
.It Xo Ic bind-key |
|
|
.Ar key |
.Ar key |
to |
to |
.Ar command . |
.Ar command . |
Keys may be specified prefixed with |
|
.Ql C- |
|
or |
|
.Ql ^ |
|
for Ctrl keys, or |
|
.Ql M- |
|
for Alt (meta) keys. |
|
.Pp |
|
By default (without |
By default (without |
.Fl t ) |
.Fl t ) |
the primary key bindings are modified (those normally activated with the prefix |
the primary key bindings are modified (those normally activated with the prefix |