Mercurial > vim
comparison runtime/doc/motion.txt @ 24911:fd37be6dc258
Update runtime files
Commit: https://github.com/vim/vim/commit/2346a6378483c9871016f9fc821ec5cbea638f13
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 13 19:02:49 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 19:15:03 +0200 |
parents | 4ab4ef0c48b1 |
children | 43593a5d873f |
comparison
equal
deleted
inserted
replaced
24910:77de4ae3e013 | 24911:fd37be6dc258 |
---|---|
1 *motion.txt* For Vim version 8.2. Last change: 2021 Mar 28 | 1 *motion.txt* For Vim version 8.2. Last change: 2021 Jun 13 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
57 |g?| g? ROT13 encoding | 57 |g?| g? ROT13 encoding |
58 |>| > shift right | 58 |>| > shift right |
59 |<| < shift left | 59 |<| < shift left |
60 |zf| zf define a fold | 60 |zf| zf define a fold |
61 |g@| g@ call function set with the 'operatorfunc' option | 61 |g@| g@ call function set with the 'operatorfunc' option |
62 | 62 *motion-count-multiplied* |
63 If the motion includes a count and the operator also had a count before it, | 63 If the motion includes a count and the operator also had a count before it, |
64 the two counts are multiplied. For example: "2d3w" deletes six words. | 64 the two counts are multiplied. For example: "2d3w" deletes six words. |
65 *operator-doubled* | |
66 When doubling the operator it operates on a line. When using a count, before | |
67 or after the first character, that many lines are operated upon. Thus `3dd` | |
68 deletes three lines. A count before and after the first character is | |
69 multiplied, thus `2y3y` yanks six lines. | |
65 | 70 |
66 After applying the operator the cursor is mostly left at the start of the text | 71 After applying the operator the cursor is mostly left at the start of the text |
67 that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe" | 72 that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe" |
68 moves the cursor leftwards to the "e" where the yank started. | 73 moves the cursor leftwards to the "e" where the yank started. |
69 | 74 |