diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-29 22:20:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-29 22:20:48 +0000 |
commit | f10911e5db16f1fe6ab519c5d091ad0c1df0d063 (patch) | |
tree | e8718e5e667d36b3c206e1778fc630e42bcf757d /runtime/doc/change.txt | |
parent | 62aec93bfdb9e1b40d03a6d2e8e9511f8b1bdb2d (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r-- | runtime/doc/change.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 2799dc9e6d..7e1030bb91 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 8.2. Last change: 2021 Dec 29 +*change.txt* For Vim version 8.2. Last change: 2022 Jan 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1176,10 +1176,13 @@ register. With blockwise selection it also depends on the size of the block and whether the corners are on an existing character. (Implementation detail: it actually works by first putting the register after the selection and then deleting the selection.) -The previously selected text is put in the unnamed register. If you want to -put the same text into a Visual selection several times you need to use +With 'p' the previously selected text is put in the unnamed register. This is +useful if you want to put that text somewhere else. But you cannot repeat the +same change. +With 'P' the unnamed register is not changed, you can repeat the same change. +But the deleted text cannot be used. If you do need it you can use 'p' with another register. E.g., yank the text to copy, Visually select the text to -replace and use "0p . You can repeat this as many times as you like, the +replace and use "0p . You can repeat this as many times as you like, and the unnamed register will be changed each time. When you use a blockwise Visual mode command and yank only a single line into |