version 1.500, 2016/10/12 14:50:14 |
version 1.501, 2016/10/12 15:26:37 |
|
|
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 |
.Op Fl cnr |
.Op Fl nr |
.Op Fl t Ar mode-table |
.Op Fl t Ar mode-table |
.Op Fl T Ar key-table |
.Op Fl T Ar key-table |
.Ar key Ar command Op Ar arguments |
.Ar key Ar command Op Ar arguments |
|
|
is present, |
is present, |
.Ar key |
.Ar key |
is bound in |
is bound in |
.Ar mode-table : |
.Ar mode-table . |
the binding for command mode with |
|
.Fl c |
|
or for normal mode without. |
|
.Pp |
.Pp |
To view the default bindings and possible commands, see the |
To view the default bindings and possible commands, see the |
.Ic list-keys |
.Ic list-keys |
|
|
.Fl 2 |
.Fl 2 |
the secondary prefix key, to a window as if it was pressed. |
the secondary prefix key, to a window as if it was pressed. |
.It Xo Ic unbind-key |
.It Xo Ic unbind-key |
.Op Fl acn |
.Op Fl an |
.Op Fl t Ar mode-table |
.Op Fl t Ar mode-table |
.Op Fl T Ar key-table |
.Op Fl T Ar key-table |
.Ar key |
.Ar key |
|
|
.D1 (alias: Ic unbind ) |
.D1 (alias: Ic unbind ) |
Unbind the command bound to |
Unbind the command bound to |
.Ar key . |
.Ar key . |
.Fl c , |
|
.Fl n , |
.Fl n , |
.Fl T |
.Fl T |
and |
and |