Skip to content

Commit 34d6fd6

Browse files
committed
change.txt: Update Vim 9.0.0663
1 parent 2f1c4e2 commit 34d6fd6

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

en/change.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 9.0. Last change: 2022 May 26
1+
*change.txt* For Vim version 9.0. Last change: 2022 Sep 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1188,11 +1188,20 @@ used. If you do need it you can use |p| with another register. E.g., yank
11881188
the text to copy, Visually select the text to replace and use "0p . You can
11891189
repeat this as many times as you like, and the unnamed register will be
11901190
changed each time.
1191-
1192-
When you use a blockwise Visual mode command and yank only a single line into
1193-
a register, a paste on a visual selected area will paste that single line on
1194-
each of the selected lines (thus replacing the blockwise selected region by a
1195-
block of the pasted line).
1191+
*blockwise-put*
1192+
When a register contains text from one line (characterwise), using a
1193+
blockwise Visual selection, putting that register will paste that text
1194+
repeatedly in each of the selected lines, thus replacing the blockwise
1195+
selected region by multiple copies of the register text. For example:
1196+
- yank the word "TEXT" into a register with `yw`
1197+
- select a visual block, marked with "v" in this text:
1198+
aaavvaaa
1199+
bbbvvbbb
1200+
cccvvccc
1201+
- press `p`, results in:
1202+
aaaTEXTaaa
1203+
bbbTEXTbbb
1204+
cccTEXTccc
11961205

11971206
*blockwise-register*
11981207
If you use a blockwise Visual mode command to get the text into the register,

0 commit comments

Comments
 (0)