aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-20 19:11:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-20 19:11:31 +0000
commit2ab713ab6b095d23c56fa9d505fab8f505d80371 (patch)
tree603fcc1a72b1373247b0dff6f5b9a9eb07aa5960
parent750b8106f71336cf5d871740f9cea792ce996a39 (diff)
downloadrtmux-2ab713ab6b095d23c56fa9d505fab8f505d80371.tar.gz
rtmux-2ab713ab6b095d23c56fa9d505fab8f505d80371.tar.bz2
rtmux-2ab713ab6b095d23c56fa9d505fab8f505d80371.zip
Document -r to bind key.
-rw-r--r--TODO1
-rw-r--r--tmux.119
2 files changed, 14 insertions, 6 deletions
diff --git a/TODO b/TODO
index f5da7992..4a5b6b73 100644
--- a/TODO
+++ b/TODO
@@ -99,7 +99,6 @@
hardcoded 81 for left-vertical is nasty
- document new layout stuff: next-layout
- document swap-pane and rotate-window
-- document repeat behaviour and -r on bind-key
- document status-keys
- document break-pane
- document -8 flag
diff --git a/tmux.1 b/tmux.1
index 147de62f..1c290ac1 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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>
.\"
@@ -365,6 +365,7 @@ If no server is started,
will attempt to start it; this will fail unless sessions are created in the
configuration file.
.It Xo Ic bind-key
+.Op Fl r
.Ar key Ar command Op Ar arguments
.Xc
.D1 (alias: Ic bind )
@@ -379,6 +380,11 @@ or
for ctrl keys, or
.Ql M-
for alt (meta) keys.
+The
+.Fl r
+flag indicates this key may repeat, see the
+.Ic repeat-time
+option.
.It Xo Ic choose-session
.Op Fl t Ar target-window
.Xc
@@ -859,14 +865,17 @@ Allow multiple commands to be entered without pressing the prefix-key again
in the specified
.Ar number
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 down-pane ,
-.Ic next-window ,
-.Ic previous-window ,
.Ic resize-pane-up ,
and
-.Ic resize-pane-down .
+.Ic resize-pane-down
+commands.
.It Xo Ic set-titles
.Op Ic on | Ic off
.Xc