1- *change.txt* For Vim version 9.1. Last change: 2025 Aug 06
1+ *change.txt* For Vim version 9.1. Last change: 2025 Oct 12
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -101,7 +101,7 @@ An exception for the d{motion} command: If the motion is not linewise, the
101101start and end of the motion are not in the same line, and there are only
102102blanks before the start and there are no non-blanks after the end of the
103103motion, the delete becomes linewise. This means that the delete also removes
104- the line of blanks that you might expect to remain. Use the | o_v | operator to
104+ the line of blanks that you might expect to remain. Use the | o_v | operator to
105105force the motion to be characterwise or remove the "z" flag from 'cpoptions'
106106(see | cpo-z | ) to disable this peculiarity.
107107
@@ -382,7 +382,7 @@ CTRL-A Add [count] to the number or alphabetic character at
382382
383383 *v_g_CTRL-A*
384384{Visual} g CTRL-A Add [count] to the number or alphabetic character in
385- the highlighted text. If several lines are
385+ the highlighted text. If several lines are
386386 highlighted, each one will be incremented by an
387387 additional [count] (so effectively creating a
388388 [count] incrementing sequence).
@@ -413,7 +413,7 @@ CTRL-X Subtract [count] from the number or alphabetic
413413<
414414 *v_g_CTRL-X*
415415{Visual} g CTRL-X Subtract [count] from the number or alphabetic
416- character in the highlighted text. If several lines
416+ character in the highlighted text. If several lines
417417 are highlighted, each value will be decremented by an
418418 additional [count] (so effectively creating a [count]
419419 decrementing sequence).
@@ -866,7 +866,7 @@ the |substitute()| function with the following exceptions:
866866 - magic is always set without regard to 'magic' .
867867 - A ~ inserts a tilde literally.
868868 - <CR> and \r inserts a carriage-return (CTRL-M ).
869- - \<CR> does not have a special meaning. It's just one of \x.
869+ - \<CR> does not have a special meaning. It's just one of \x.
870870
871871Examples: >
872872 :s/a\|b/xxx\0xxx/g modifies "a b" to "xxxaxxx xxxbxxx"
@@ -878,7 +878,7 @@ Examples: >
878878
879879 Note: "\L\u" can be used to capitalize the first letter of a word. This is
880880not compatible with Vi and older versions of Vim, where the "\u" would cancel
881- out the "\L". Same for "\U\l".
881+ out the "\L". Same for "\U\l".
882882
883883Note: In previous versions CTRL-V was handled in a special way. Since this is
884884not Vi compatible, this was removed. Use a backslash instead.
@@ -950,7 +950,7 @@ real <NL> character (which will be a NUL in the file).
950950
951951The "\=" notation can also be used inside the third argument {sub} of
952952| substitute() | function. In this case, the special meaning for characters as
953- mentioned at | sub-replace-special | does not apply at all. Especially, <CR> and
953+ mentioned at | sub-replace-special | does not apply at all. Especially, <CR> and
954954<NL> are interpreted not as a line break but as a carriage-return and a
955955new-line respectively.
956956
@@ -1092,7 +1092,7 @@ inside of strings can change! Also see 'softtabstop' option. >
10921092 with `zp ` . (for {Visual} see | Visual-mode | )
10931093
10941094 *:y* *:yank* *E850*
1095- :[range] y[ank] [x] Yank [range] lines [into register x]. Yanking to the
1095+ :[range] y[ank] [x] Yank [range] lines [into register x]. Yanking to the
10961096 "* or "+ registers is possible only when the
10971097 | +clipboard | feature is included.
10981098
@@ -1173,9 +1173,9 @@ inside of strings can change! Also see 'softtabstop' option. >
11731173 or 'a'.
11741174
11751175["x]zp or *zp* *zP*
1176- ["x]zP Like "p" and "P", except without adding trailing spaces
1177- when pasting a block. Thus the inserted text will not
1178- always be a rectangle. Especially useful in
1176+ ["x]zP Like "p" and "P", except without adding trailing
1177+ spaces when pasting a block. Thus the inserted text
1178+ will not always be a rectangle. Especially useful in
11791179 combination with | v_zy | .
11801180
11811181You can use these commands to copy text from one place to another. Do this
@@ -1210,7 +1210,7 @@ With |p| the previously selected text is put in the unnamed register (and
12101210possibly the selection and/or clipboard). This is useful if you want to put
12111211that text somewhere else. But you cannot repeat the same change.
12121212With | P | the unnamed register is not changed (and neither the selection or
1213- clipboard), you can repeat the same change. But the deleted text cannot be
1213+ clipboard), you can repeat the same change. But the deleted text cannot be
12141214used. If you do need it you can use | p | with another register. E.g., yank
12151215the text to copy, Visually select the text to replace and use "0p . You can
12161216repeat this as many times as you like, and the unnamed register will be
@@ -1291,8 +1291,8 @@ text is less than one line (the small delete register is used then). An
12911291exception is made for the delete operator with these movement commands: | % | ,
12921292| ( | , | ) | , | ` | , | / | , | ? | , | n | , | N | , | { | and | } | .
12931293Register "1 is always used then (this is Vi compatible). The "- register is
1294- used as well if the delete is within a line. Note that these characters may be
1295- mapped. E.g. | % | is mapped by the matchit plugin.
1294+ used as well if the delete is within a line. Note that these characters may
1295+ be mapped. E.g. | % | is mapped by the matchit plugin.
12961296 With each successive deletion or change, Vim shifts the previous contents
12971297of register 1 into register 2, 2 into 3, and so forth, losing the previous
12981298contents of register 9.
@@ -1608,11 +1608,11 @@ type of comment string. A part consists of:
16081608
16091609 e End of a three-piece comment
16101610
1611- l Left align. Used together with 's' or 'e', the leftmost character of
1611+ l Left align. Used together with 's' or 'e', the leftmost character of
16121612 start or end will line up with the leftmost character from the middle.
1613- This is the default and can be omitted. See below for more details.
1613+ This is the default and can be omitted. See below for more details.
16141614
1615- r Right align. Same as above but rightmost instead of leftmost. See
1615+ r Right align. Same as above but rightmost instead of leftmost. See
16161616 below for more details.
16171617
16181618 O Don't consider this comment for the "O" command.
@@ -1624,8 +1624,8 @@ type of comment string. A part consists of:
16241624
16251625 {digits}
16261626 When together with 's' or 'e': add {digit} amount of offset to an
1627- automatically inserted middle or end comment leader. The offset begins
1628- from a left alignment. See below for more details.
1627+ automatically inserted middle or end comment leader. The offset
1628+ begins from a left alignment. See below for more details.
16291629
16301630 -{digits}
16311631 Like {digits} but reduce the indent. This only works when there is
@@ -1664,7 +1664,7 @@ part which is longer, the end part is used. This makes a C style comment work
16641664without requiring the middle part to end with a space.
16651665
16661666Here is an example of alignment flags at work to make a comment stand out
1667- (kind of looks like a 1 too). Consider comment string: >
1667+ (kind of looks like a 1 too). Consider comment string: >
16681668 :set comments=sr:/***,m:**,ex-2:******/
16691669<
16701670 /*** ~
@@ -1675,7 +1675,7 @@ offset 2 spaces for the "-2" flag--->** ~
16751675In this case, the first comment was typed, then return was pressed 4 times,
16761676then "/" was pressed to end the comment.
16771677
1678- Here are some finer points of three part comments. There are three times when
1678+ Here are some finer points of three part comments. There are three times when
16791679alignment and offset flags are taken into consideration: opening a new line
16801680after a start-comment, opening a new line before an end-comment, and
16811681automatically ending a three-piece comment. The end alignment flag has a
@@ -1686,11 +1686,11 @@ will override the "r" and "l" flag.
16861686
16871687Enabling 'cindent' will override the alignment flags in many cases.
16881688Reindenting using a different method like | gq | or | = | will not consult
1689- alignment flags either. The same behaviour can be defined in those other
1690- formatting options. One consideration is that 'cindent' has additional options
1691- for context based indenting of comments but cannot replicate many three piece
1692- indent alignments. However, 'indentexpr' has the ability to work better with
1693- three piece comments.
1689+ alignment flags either. The same behaviour can be defined in those other
1690+ formatting options. One consideration is that 'cindent' has additional
1691+ options for context based indenting of comments but cannot replicate many
1692+ three piece indent alignments. However, 'indentexpr' has the ability to work
1693+ better with three piece comments.
16941694
16951695Other examples: >
16961696 "b:*" Includes lines starting with "*", but not if the "*" is
@@ -1787,7 +1787,7 @@ B When joining lines, don't insert a space between two multibyte
178717871 Don't break a line after a one-letter word. It's broken before it
17881788 instead (if possible).
17891789 *fo-]*
1790- ] Respect 'textwidth' rigorously. With this flag set, no line can be
1790+ ] Respect 'textwidth' rigorously. With this flag set, no line can be
17911791 longer than 'textwidth' , unless line-break-prohibition rules make this
17921792 impossible. Mainly for CJK scripts and works only if 'encoding' is
17931793 "utf-8".
@@ -1825,8 +1825,8 @@ is when the 'a' flag is present. |auto-format|
18251825
18261826Note that when 'paste' is on, Vim does no formatting at all.
18271827
1828- Note that 'textwidth' can be non-zero even if Vim never performs auto-wrapping;
1829- 'textwidth' is still useful for formatting with "gq".
1828+ Note that 'textwidth' can be non-zero even if Vim never performs
1829+ auto-wrapping; 'textwidth' is still useful for formatting with "gq".
18301830
18311831If the 'comments' option includes "/*", "*" and/or "*/", then Vim has some
18321832built in stuff to treat these types of comments a bit more cleverly.
@@ -1913,8 +1913,8 @@ Also see |:uniq|.
19131913 *:sort-l*
19141914 With [l] sort uses the current collation locale.
19151915 Implementation details: strcoll() is used to compare
1916- strings. See | :language | to check or set the collation
1917- locale. Example: >
1916+ strings. See | :language | to check or set the collation
1917+ locale. Example: >
19181918 :language collate en_US.UTF-8
19191919 :%sort l
19201920< | v:collate | can also used to check the current locale.
@@ -1930,7 +1930,7 @@ Also see |:uniq|.
19301930 With [f] sorting is done on the Float in the line.
19311931 The value of Float is determined similar to passing
19321932 the text (after or inside a {pattern} match) to
1933- str2float() function. This option is available only
1933+ str2float() function. This option is available only
19341934 if Vim was compiled with Floating point support.
19351935
19361936 With [x] sorting is done on the first hexadecimal
0 commit comments