Document -r to bind key.

This commit is contained in:
Nicholas Marriott 2009-04-20 19:11:31 +00:00
parent 750b8106f7
commit 2ab713ab6b
2 changed files with 14 additions and 6 deletions

1
TODO
View File

@ -99,7 +99,6 @@
hardcoded 81 for left-vertical is nasty hardcoded 81 for left-vertical is nasty
- document new layout stuff: next-layout - document new layout stuff: next-layout
- document swap-pane and rotate-window - document swap-pane and rotate-window
- document repeat behaviour and -r on bind-key
- document status-keys - document status-keys
- document break-pane - document break-pane
- document -8 flag - document -8 flag

19
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.83 2009-02-10 00:09:44 nicm Exp $ .\" $Id: tmux.1,v 1.84 2009-04-20 19:11:31 nicm Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\" .\"
@ -365,6 +365,7 @@ If no server is started,
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 r
.Ar key Ar command Op Ar arguments .Ar key Ar command Op Ar arguments
.Xc .Xc
.D1 (alias: Ic bind ) .D1 (alias: Ic bind )
@ -379,6 +380,11 @@ or
for ctrl keys, or for ctrl keys, or
.Ql M- .Ql M-
for alt (meta) keys. for alt (meta) keys.
The
.Fl r
flag indicates this key may repeat, see the
.Ic repeat-time
option.
.It Xo Ic choose-session .It Xo Ic choose-session
.Op Fl t Ar target-window .Op Fl t Ar target-window
.Xc .Xc
@ -859,14 +865,17 @@ Allow multiple commands to be entered without pressing the prefix-key again
in the specified in the specified
.Ar number .Ar number
milliseconds (the default is 500). milliseconds (the default is 500).
It only applies to Whether a key repeats may be set when it is bound using the
.Fl r
flag to
.Ic bind-key .
Repeat is enabled for the default keys of the
.Ic up-pane , .Ic up-pane ,
.Ic down-pane , .Ic down-pane ,
.Ic next-window ,
.Ic previous-window ,
.Ic resize-pane-up , .Ic resize-pane-up ,
and and
.Ic resize-pane-down . .Ic resize-pane-down
commands.
.It Xo Ic set-titles .It Xo Ic set-titles
.Op Ic on | Ic off .Op Ic on | Ic off
.Xc .Xc