From b34c8f5f39963d40caf3355faa508b304283d666 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Mon, 8 Mar 2010 15:02:07 +0000 Subject: Sync OpenBSD patchset 658: Permit keys in copy mode to be prefixed by a repeat count, entered with [1-9] in vi mode, or M-[1-9] in emacs mode. From Micah Cowan, tweaked a little by me. --- tmux.1 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index dd5bb238..699ad303 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.236 2010-02-26 13:31:39 tcunha Exp $ +.\" $Id: tmux.1,v 1.237 2010-03-08 15:02:07 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 22 2010 $ +.Dd $Mdocdate: March 2 2010 $ .Dt TMUX 1 .Os .Sh NAME @@ -661,7 +661,16 @@ next word and previous word to the start of the previous word. The three next and previous space keys work similarly but use a space alone as the word separator. .Pp -These key bindings are defined in a set of named tables: +Commands in copy mode may be prefaced by an optional repeat count. +With vi key bindings, a prefix is entered using the number keys; with +emacs, the Alt (meta) key and a number begins prefix entry. +For example, to move the cursor forward by ten words, use +.Ql M-1 0 M-f +in emacs mode, and +.Ql 10w +in vi. +.Pp +Mode key bindings are defined in a set of named tables: .Em vi-edit and .Em emacs-edit -- cgit