summaryrefslogtreecommitdiffstats
path: root/runtime/doc/motion.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-01-06 20:52:26 +0100
committerBram Moolenaar <Bram@vim.org>2010-01-06 20:52:26 +0100
commit8f3f58f2c361f1b7241128d9821f88d8a30aa066 (patch)
treebd5827eec39ddf8e6a94919a6a541765882f00d4 /runtime/doc/motion.txt
parent28c37959871b83fd5d1d621f70bce29dc3f21ba4 (diff)
Update documentation files.
Diffstat (limited to 'runtime/doc/motion.txt')
-rw-r--r--runtime/doc/motion.txt23
1 files changed, 12 insertions, 11 deletions
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index f3364b61f9..0b5afe709d 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1,4 +1,4 @@
-*motion.txt* For Vim version 7.2. Last change: 2008 Aug 03
+*motion.txt* For Vim version 7.2. Last change: 2009 Sep 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -151,6 +151,11 @@ CTRL-V When used after an operator, before the motion command: Force
==============================================================================
2. Left-right motions *left-right-motions*
+These commands move the cursor to the specified column in the current line.
+They stop at the first column and at the end of the line, except "$", which
+may move to one of the next lines. See 'whichwrap' option to make some of the
+commands move across line boundaries.
+
h or *h*
<Left> or *<Left>*
CTRL-H or *CTRL-H* *<BS>*
@@ -234,7 +239,7 @@ g$ or g<End> When lines wrap ('wrap' on): To the last character of
*bar*
| To screen column [count] in the current line.
- |exclusive| motion.
+ |exclusive| motion. Ceci n'est pas une pipe.
*f*
f{char} To [count]'th occurrence of {char} to the right. The
@@ -270,11 +275,6 @@ T{char} Till after [count]'th occurrence of {char} to the
, Repeat latest f, t, F or T in opposite direction
[count] times.
-These commands move the cursor to the specified column in the current line.
-They stop at the first column and at the end of the line, except "$", which
-may move to one of the next lines. See 'whichwrap' option to make some of the
-commands move across line boundaries.
-
==============================================================================
3. Up-down motions *up-down-motions*
@@ -325,9 +325,9 @@ gg Goto line [count], default first line, on the first
non-blank character |linewise|. If 'startofline' not
set, keep the same column.
-:[range] Set the cursor on the specified line number. If
- there are several numbers, the last one is used.
-
+:[range] Set the cursor on the last line number in [range].
+ [range] can also be just one line number, e.g., ":1"
+ or ":'m".
*N%*
{count}% Go to {count} percentage in the file, on the first
non-blank in the line |linewise|. To compute the new
@@ -637,7 +637,8 @@ a` *v_a`* *a`*
When the cursor starts on a quote, Vim will figure out
which quote pairs form a string by searching from the
start of the line.
- Any trailing or leading white space is included.
+ Any trailing white space is included, unless there is
+ none, then leading white space is included.
When used in Visual mode it is made characterwise.
Repeating this object in Visual mode another string is
included. A count is currently not used.