@@ -177,8 +177,6 @@ gR Enter Virtual Replace mode: Each character you type
177177 <Tab> may replace several characters at once.
178178 Repeat the entered text [count] -1 times. See
179179 | Virtual-Replace-mode | for more details.
180- {not available when compiled without the | +vreplace |
181- feature}
182180
183181 *c*
184182["x]c{motion} Delete {motion} text [into register x] and start
@@ -303,8 +301,6 @@ gr{char} Replace the virtual characters under the cursor with
303301 space. See | gR | and | Virtual-Replace-mode | for more
304302 details. As with | r | a count may be given.
305303 {char} can be entered like with | r | .
306- {not available when compiled without the | +vreplace |
307- feature}
308304
309305 *digraph-arg*
310306The argument for Normal mode commands like | r | and | t | is a single character.
@@ -712,6 +708,7 @@ The flags that you can use for the substitute commands:
712708 search pattern.
713709 {not in Vi: highlighting of the match, other responses than 'y' or 'n'}
714710
711+ *:s_e*
715712[e] When the search pattern fails, do not issue an error message and, in
716713 particular, continue in maps as if no error occurred. This is most
717714 useful to prevent the "No match" error from breaking a mapping. Vim
@@ -723,33 +720,38 @@ The flags that you can use for the substitute commands:
723720 Interrupted
724721 {not in Vi}
725722
723+ *:s_g*
726724[g] Replace all occurrences in the line. Without this argument,
727725 replacement occurs only for the first occurrence in each line. If
728726 the 'edcompatible' option is on, Vim remembers this flag and toggles
729727 it each time you use it, but resets it when you give a new search
730728 pattern. If the 'gdefault' option is on, this flag is on by default
731729 and the [g] argument switches it off.
732730
731+ *:s_i*
733732[i] Ignore case for the pattern. The 'ignorecase' and 'smartcase' options
734733 are not used.
735734 {not in Vi}
736735
736+ *:s_I*
737737[I] Don't ignore case for the pattern. The 'ignorecase' and 'smartcase'
738738 options are not used.
739739 {not in Vi}
740740
741+ *:s_n*
741742[n] Report the number of matches, do not actually substitute. The [c]
742743 flag is ignored. The matches are reported as if 'report' is zero.
743744 Useful to | count-items | .
744745 If \= | sub-replace-expression | is used, the expression will be
745746 evaluated in the | sandbox | at every match.
746747
747- [p] Print the line containing the last substitute.
748+ [p] Print the line containing the last substitute. *:s_p*
748749
749- [#] Like [p] and prepend the line number.
750+ [#] Like [p] and prepend the line number. *:s_#*
750751
751- [l] Like [p] but print the text like | :list | .
752+ [l] Like [p] but print the text like | :list | . *:s_l*
752753
754+ *:s_r*
753755[r] Only useful in combination with `:& ` or `:s ` without arguments. `:&r `
754756 works the same way as `:~` : When the search pattern is empty, use the
755757 previously used search pattern instead of the search pattern from the
@@ -1451,7 +1453,7 @@ to the name of an external program for Vim to use for text formatting. The
14511453program.
14521454
14531455 *format-formatexpr*
1454- The 'formatexpr' option can be set to a Vim Script function that performs
1456+ The 'formatexpr' option can be set to a Vim script function that performs
14551457reformatting of the buffer. This should usually happen in an | ftplugin | ,
14561458since formatting is highly dependent on the type of file. It makes
14571459sense to use an | autoload | script, so the corresponding script is only loaded
@@ -1485,7 +1487,7 @@ text. Put it in your autoload directory, e.g. ~/.vim/autoload/format.vim: >
14851487
14861488 You can then enable the formatting by executing: >
14871489 setlocal formatexpr=format#Format()
1488- >
1490+
14891491 Note: this function explicitly returns non-zero when called from insert mode
14901492(which basically means, text is inserted beyond the 'textwidth' limit). This
14911493causes Vim to fall back to reformat the text by using the internal formatter.
0 commit comments