summaryrefslogtreecommitdiffstats
path: root/runtime/doc/motion.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-13 19:02:49 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-13 19:02:49 +0200
commit2346a6378483c9871016f9fc821ec5cbea638f13 (patch)
tree5614d11853110f5e417ca81600e036abde1c309b /runtime/doc/motion.txt
parent4ee9d8e04daa97a3d0a19d7d2eed76b7721301e6 (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/motion.txt')
-rw-r--r--runtime/doc/motion.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index 4dc0e2e28c..a8ae19c444 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1,4 +1,4 @@
-*motion.txt* For Vim version 8.2. Last change: 2021 Mar 28
+*motion.txt* For Vim version 8.2. Last change: 2021 Jun 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -59,9 +59,14 @@ or change text. The following operators are available:
|<| < shift left
|zf| zf define a fold
|g@| g@ call function set with the 'operatorfunc' option
-
+ *motion-count-multiplied*
If the motion includes a count and the operator also had a count before it,
the two counts are multiplied. For example: "2d3w" deletes six words.
+ *operator-doubled*
+When doubling the operator it operates on a line. When using a count, before
+or after the first character, that many lines are operated upon. Thus `3dd`
+deletes three lines. A count before and after the first character is
+multiplied, thus `2y3y` yanks six lines.
After applying the operator the cursor is mostly left at the start of the text
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"