version 1.48, 2009/07/28 07:03:32 |
version 1.49, 2009/07/28 17:05:10 |
|
|
used in copy and scroll modes. |
used in copy and scroll modes. |
The tables may be viewed with the |
The tables may be viewed with the |
.Ic list-keys |
.Ic list-keys |
command. |
command and keys modified or removed with |
|
.Ic bind-key |
|
and |
|
.Ic unbind-key . |
.Pp |
.Pp |
The paste buffer key pastes the first line from the top paste buffer on the |
The paste buffer key pastes the first line from the top paste buffer on the |
stack. |
stack. |
|
|
will attempt to start it; this will fail unless sessions are created in the |
will attempt to start it; this will fail unless sessions are created in the |
configuration file. |
configuration file. |
.It Xo Ic bind-key |
.It Xo Ic bind-key |
.Op Fl nr |
.Op Fl cnr |
|
.Op Fl t Ar key-table |
.Ar key Ar command Op Ar arguments |
.Ar key Ar command Op Ar arguments |
.Xc |
.Xc |
.D1 (alias: Ic bind ) |
.D1 (alias: Ic bind ) |
|
|
for Ctrl keys, or |
for Ctrl keys, or |
.Ql M- |
.Ql M- |
for Alt (meta) keys. |
for Alt (meta) keys. |
If |
.Pp |
|
By default (without |
|
.Fl t ) |
|
the primary key bindings are modified (those normally activated with the prefix |
|
key); in this case, if |
.Fl n |
.Fl n |
is specified, it is not necessary to use the prefix key, |
is specified, it is not necessary to use the prefix key, |
.Ar command |
.Ar command |
|
|
flag indicates this key may repeat, see the |
flag indicates this key may repeat, see the |
.Ic repeat-time |
.Ic repeat-time |
option. |
option. |
|
.Pp |
|
If |
|
.Fl t |
|
is present, |
|
.Ar key |
|
is bound in |
|
.Ar key-table : |
|
the binding for command mode with |
|
.Fl c |
|
or for normal mode without. |
|
To view the default bindings and possible commands, see the |
|
.Ic list-keys |
|
command. |
.It Xo Ic break-pane |
.It Xo Ic break-pane |
.Op Fl d |
.Op Fl d |
.Op Fl p Ar pane-index |
.Op Fl p Ar pane-index |
|
|
List the syntax of all commands supported by |
List the syntax of all commands supported by |
.Nm . |
.Nm . |
.It Xo Ic list-keys |
.It Xo Ic list-keys |
.Op Ar Fl t Ar key-table |
.Op Fl t Ar key-table |
.Xc |
.Xc |
.D1 (alias: Ic lsk ) |
.D1 (alias: Ic lsk ) |
List all key bindings. |
List all key bindings. |
|
|
to |
to |
.Ar target-session . |
.Ar target-session . |
.It Xo Ic unbind-key |
.It Xo Ic unbind-key |
.Op Fl n |
.Op Fl cn |
|
.Op Fl t Ar key-table |
.Ar key |
.Ar key |
.Xc |
.Xc |
.D1 (alias: Ic unbind ) |
.D1 (alias: Ic unbind ) |
Unbind the command bound to |
Unbind the command bound to |
.Ar key . |
.Ar key . |
If |
Without |
|
.Fl t |
|
the primary key bindings are modified; in this case, if |
.Fl n |
.Fl n |
is specified, the command bound to |
is specified, the command bound to |
.Ar key |
.Ar key |
without a prefix (if any) is removed. |
without a prefix (if any) is removed. |
|
.Pp |
|
If |
|
.Fl t |
|
is present, |
|
.Ar key |
|
in |
|
.Ar key-table |
|
is unbound: the binding for command mode with |
|
.Fl c |
|
or for normal mode without. |
.It Xo Ic unlink-window |
.It Xo Ic unlink-window |
.Op Fl k |
.Op Fl k |
.Op Fl t Ar target-window |
.Op Fl t Ar target-window |