diff options
author | Micah Cowan <micah@micah.cowan.name> | 2010-03-16 17:30:58 +0000 |
---|---|---|
committer | Micah Cowan <micah@micah.cowan.name> | 2010-03-16 17:30:58 +0000 |
commit | 009d8d2ea7aecd47207658bd08a9959919bd4fdc (patch) | |
tree | b8e62373a381ee3c74c08702bcc2960db77ef134 /tmux.1 | |
parent | aa8f9018ea16511b4a8da1c33c135495c954a81b (diff) | |
download | rtmux-009d8d2ea7aecd47207658bd08a9959919bd4fdc.tar.gz rtmux-009d8d2ea7aecd47207658bd08a9959919bd4fdc.tar.bz2 rtmux-009d8d2ea7aecd47207658bd08a9959919bd4fdc.zip |
Jump-forward, jump-backward in copy mode, based on vi's F and f commands.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.238 2010-03-15 22:03:38 nicm Exp $ +.\" $Id: tmux.1,v 1.239 2010-03-16 17:30:58 micahcowan Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -610,7 +610,7 @@ The keys available depend on whether emacs or vi mode is selected .Ic mode-keys option). The following keys are supported as appropriate for the mode: -.Bl -column "FunctionXXXXXXXXXXXXXX" "viXXXXXXXXXX" "emacs" -offset indent +.Bl -column "FunctionXXXXXXXXXXXXXXXXX" "viXXXXXXXXXX" "emacs" -offset indent .It Sy "Function" Ta Sy "vi" Ta Sy "emacs" .It Li "Back to indentation" Ta "^" Ta "M-m" .It Li "Bottom of history" Ta "G" Ta "M-<" @@ -629,6 +629,10 @@ The following keys are supported as appropriate for the mode: .It Li "Go to line" Ta ":" Ta "g" .It Li "Half page down" Ta "C-d" Ta "M-Down" .It Li "Half page up" Ta "C-u" Ta "M-Up" +.It Li "Jump forward" Ta "f" Ta "f" +.It Li "Jump backward" Ta "F" Ta "F" +.It Li "Jump again" Ta ";" Ta ";" +.It Li "Jump again in reverse" Ta "," Ta "," .It Li "Next page" Ta "C-f" Ta "Page down" .It Li "Next space" Ta "W" Ta "" .It Li "Next space, end of word" Ta "E" Ta "" @@ -666,6 +670,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 +The jump commands enable quick movement within a line. +For instance, with the default bindings (in either vi or emacs mode), +you can type +.Ql f/ , +and the cursor will jump to the next slash character on the current line. +You can then type +.Ql \&; +to cause the cursor to jump to the next occurrence of a slash. +(These are based on vi editor commands.) +.Pp 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. |