From 2ab713ab6b095d23c56fa9d505fab8f505d80371 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 20 Apr 2009 19:11:31 +0000 Subject: [PATCH] Document -r to bind key. --- TODO | 1 - tmux.1 | 19 ++++++++++++++----- 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 .\" @@ -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