Skip to content

Commit a939534

Browse files
committed
change.txt: Update Vim 8.2.5077
1 parent e824bd6 commit a939534

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

en/change.txt

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.2. Last change: 2022 Mar 05
1+
*change.txt* For Vim version 8.2. Last change: 2022 May 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1177,14 +1177,15 @@ register. With blockwise selection it also depends on the size of the block
11771177
and whether the corners are on an existing character. (Implementation detail:
11781178
it actually works by first putting the register after the selection and then
11791179
deleting the selection.)
1180-
With 'p' the previously selected text is put in the unnamed register. This is
1181-
useful if you want to put that text somewhere else. But you cannot repeat the
1182-
same change.
1183-
With 'P' the unnamed register is not changed, you can repeat the same change.
1184-
But the deleted text cannot be used. If you do need it you can use 'p' with
1185-
another register. E.g., yank the text to copy, Visually select the text to
1186-
replace and use "0p . You can repeat this as many times as you like, and the
1187-
unnamed register will be changed each time.
1180+
With |p| the previously selected text is put in the unnamed register (and
1181+
possibly the selection and/or clipboard). This is useful if you want to put
1182+
that text somewhere else. But you cannot repeat the same change.
1183+
With |P| the unnamed register is not changed (and neither the selection or
1184+
clipboard), you can repeat the same change. But the deleted text cannot be
1185+
used. If you do need it you can use |p| with another register. E.g., yank
1186+
the text to copy, Visually select the text to replace and use "0p . You can
1187+
repeat this as many times as you like, and the unnamed register will be
1188+
changed each time.
11881189

11891190
When you use a blockwise Visual mode command and yank only a single line into
11901191
a register, a paste on a visual selected area will paste that single line on
@@ -1271,7 +1272,7 @@ to their previous contents. When the '>' flag is present in 'cpoptions' then
12711272
a line break is inserted before the appended text.
12721273

12731274
5. Read-only registers ":, ". and "%
1274-
These are '%', '#', ':' and '.'. You can use them only with the "p", "P",
1275+
These are '%', ':' and '.'. You can use them only with the "p", "P",
12751276
and ":put" commands and with CTRL-R.
12761277
*quote_.* *quote.* *E29*
12771278
". Contains the last inserted text (the same as what is inserted
@@ -1672,9 +1673,9 @@ readability.
16721673

16731674
letter meaning when present in 'formatoptions' ~
16741675
*fo-t*
1675-
t Auto-wrap text using textwidth
1676+
t Auto-wrap text using 'textwidth'
16761677
*fo-c*
1677-
c Auto-wrap comments using textwidth, inserting the current comment
1678+
c Auto-wrap comments using 'textwidth', inserting the current comment
16781679
leader automatically.
16791680
*fo-r*
16801681
r Automatically insert the current comment leader after hitting
@@ -1683,6 +1684,9 @@ r Automatically insert the current comment leader after hitting
16831684
o Automatically insert the current comment leader after hitting 'o' or
16841685
'O' in Normal mode. In case comment is unwanted in a specific place
16851686
use CTRL-U to quickly delete it. |i_CTRL-U|
1687+
*fo-/*
1688+
/ When 'o' is included: do not insert the comment leader for a //
1689+
comment after a statement, only when // is at the start of the line.
16861690
*fo-q*
16871691
q Allow formatting of comments with "gq".
16881692
Note that formatting will not change blank lines or lines containing
@@ -1745,8 +1749,8 @@ B When joining lines, don't insert a space between two multibyte
17451749
1 Don't break a line after a one-letter word. It's broken before it
17461750
instead (if possible).
17471751
*fo-]*
1748-
] Respect textwidth rigorously. With this flag set, no line can be
1749-
longer than textwidth, unless line-break-prohibition rules make this
1752+
] Respect 'textwidth' rigorously. With this flag set, no line can be
1753+
longer than 'textwidth', unless line-break-prohibition rules make this
17501754
impossible. Mainly for CJK scripts and works only if 'encoding' is
17511755
"utf-8".
17521756
*fo-j*

0 commit comments

Comments
 (0)