Skip to content

Commit a6c27c4

Browse files
committed
Update runtime files
1 parent d4aa83a commit a6c27c4

52 files changed

Lines changed: 1119 additions & 906 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/doc/change.txt

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*change.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -268,8 +268,6 @@ r{char} Replace the character under the cursor with {char}.
268268
If {char} is a <CR> or <NL>, a line break replaces the
269269
character. To replace with a real <CR>, use CTRL-V
270270
<CR>. CTRL-V <NL> replaces with a <Nul>.
271-
{Vi: CTRL-V <CR> still replaces with a line break,
272-
cannot replace something with a <CR>}
273271

274272
If {char} is CTRL-E or CTRL-Y the character from the
275273
line below or above is used, just like with |i_CTRL-E|
@@ -310,11 +308,9 @@ The following commands change the case of letters. The currently active
310308
*~*
311309
~ 'notildeop' option: Switch case of the character
312310
under the cursor and move the cursor to the right.
313-
If a [count] is given, do that many characters. {Vi:
314-
no count}
311+
If a [count] is given, do that many characters.
315312

316-
~{motion} 'tildeop' option: switch case of {motion} text. {Vi:
317-
tilde cannot be used as an operator}
313+
~{motion} 'tildeop' option: switch case of {motion} text.
318314

319315
*g~*
320316
g~{motion} Switch case of {motion} text.
@@ -1054,11 +1050,11 @@ inside of strings can change! Also see 'softtabstop' option. >
10541050

10551051
*p* *put* *E353*
10561052
["x]p Put the text [from register x] after the cursor
1057-
[count] times. {Vi: no count}
1053+
[count] times.
10581054

10591055
*P*
10601056
["x]P Put the text [from register x] before the cursor
1061-
[count] times. {Vi: no count}
1057+
[count] times.
10621058

10631059
*<MiddleMouse>*
10641060
["x]<MiddleMouse> Put the text from a register before the cursor [count]

runtime/doc/cmdline.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*cmdline.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -27,7 +27,6 @@ Basic command line editing is explained in chapter 20 of the user manual
2727
Normally characters are inserted in front of the cursor position. You can
2828
move around in the command-line with the left and right cursor keys. With the
2929
<Insert> key, you can toggle between inserting and overstriking characters.
30-
{Vi: can only alter the last character in the line}
3130

3231
Note that if your keyboard does not have working cursor keys or any of the
3332
other special keys, you can use ":cnoremap" to define another key for them.

runtime/doc/debug.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*debug.txt* For Vim version 8.1. Last change: 2017 Jul 15
1+
*debug.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/editing.txt

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*editing.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -51,7 +51,7 @@ for editing (e.g., with ":e filename") or writing (e.g., with ":w filename"),
5151
the file name is added to the list. You can use the buffer list to remember
5252
which files you edited and to quickly switch from one file to another (e.g.,
5353
to copy text) with the |CTRL-^| command. First type the number of the file
54-
and then hit CTRL-^. {Vi: only one alternate file name is remembered}
54+
and then hit CTRL-^.
5555

5656

5757
CTRL-G or *CTRL-G* *:f* *:fi* *:file*
@@ -197,15 +197,13 @@ If you want to keep the changed buffer without saving it, switch on the
197197
buffer and 'autowriteall' isn't set or the file can't
198198
be written.
199199
Also see |++opt| and |+cmd|.
200-
{Vi: no ++opt}
201200

202201
*:edit!* *discard*
203202
:e[dit]! [++opt] [+cmd]
204203
Edit the current file always. Discard any changes to
205204
the current buffer. This is useful if you want to
206205
start all over again.
207206
Also see |++opt| and |+cmd|.
208-
{Vi: no ++opt}
209207

210208
*:edit_f*
211209
:e[dit] [++opt] [+cmd] {file}
@@ -214,22 +212,19 @@ If you want to keep the changed buffer without saving it, switch on the
214212
buffer, unless 'hidden' is set or 'autowriteall' is
215213
set and the file can be written.
216214
Also see |++opt| and |+cmd|.
217-
{Vi: no ++opt}
218215

219216
*:edit!_f*
220217
:e[dit]! [++opt] [+cmd] {file}
221218
Edit {file} always. Discard any changes to the
222219
current buffer.
223220
Also see |++opt| and |+cmd|.
224-
{Vi: no ++opt}
225221

226222
:e[dit] [++opt] [+cmd] #[count]
227223
Edit the [count]th buffer (as shown by |:files|).
228224
This command does the same as [count] CTRL-^. But ":e
229225
#" doesn't work if the alternate buffer doesn't have a
230226
file name, while CTRL-^ still works then.
231227
Also see |++opt| and |+cmd|.
232-
{Vi: no ++opt}
233228

234229
*:ene* *:enew*
235230
:ene[w] Edit a new, unnamed buffer. This fails when changes
@@ -607,14 +602,12 @@ list of the current window.
607602
the first one. This fails when changes have been made
608603
and Vim does not want to |abandon| the current buffer.
609604
Also see |++opt| and |+cmd|.
610-
{Vi: no ++opt}
611605

612606
:ar[gs]! [++opt] [+cmd] {arglist} *:args_f!*
613607
Define {arglist} as the new argument list and edit
614608
the first one. Discard any changes to the current
615609
buffer.
616610
Also see |++opt| and |+cmd|.
617-
{Vi: no ++opt}
618611

619612
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
620613
Add {name}s to the argument list and edit it.
@@ -693,13 +686,11 @@ list of the current window.
693686
:[count]n[ext] [++opt] [+cmd] *:n* *:ne* *:next* *E165* *E163*
694687
Edit [count] next file. This fails when changes have
695688
been made and Vim does not want to |abandon| the
696-
current buffer. Also see |++opt| and |+cmd|. {Vi: no
697-
count or ++opt}.
689+
current buffer. Also see |++opt| and |+cmd|.
698690

699691
:[count]n[ext]! [++opt] [+cmd]
700692
Edit [count] next file, discard any changes to the
701-
buffer. Also see |++opt| and |+cmd|. {Vi: no count
702-
or ++opt}.
693+
buffer. Also see |++opt| and |+cmd|.
703694

704695
:n[ext] [++opt] [+cmd] {arglist} *:next_f*
705696
Same as |:args_f|.
@@ -716,18 +707,17 @@ list of the current window.
716707
:[count]N[ext]! [count] [++opt] [+cmd]
717708
Edit [count] previous file in argument list. Discard
718709
any changes to the buffer. Also see |++opt| and
719-
|+cmd|. {Vi: no count or ++opt}.
710+
|+cmd|.
720711

721712
:[count]prev[ious] [count] [++opt] [+cmd] *:prev* *:previous*
722-
Same as :Next. Also see |++opt| and |+cmd|. {Vi:
723-
only in some versions}
713+
Same as :Next. Also see |++opt| and |+cmd|.
724714

725715
*:rew* *:rewind*
726716
:rew[ind] [++opt] [+cmd]
727717
Start editing the first file in the argument list.
728718
This fails when changes have been made and Vim does
729719
not want to |abandon| the current buffer.
730-
Also see |++opt| and |+cmd|. {Vi: no ++opt}
720+
Also see |++opt| and |+cmd|.
731721

732722
:rew[ind]! [++opt] [+cmd]
733723
Start editing the first file in the argument list.
@@ -1335,7 +1325,7 @@ present in 'cpoptions' and "!" is not used in the command.
13351325
:lch[dir][!] Same as |:lcd|.
13361326

13371327
*:pw* *:pwd* *E187*
1338-
:pw[d] Print the current directory name. {Vi: no pwd}
1328+
:pw[d] Print the current directory name.
13391329
Also see |getcwd()|.
13401330

13411331
So long as no |:lcd| or |:tcd| command has been used, all windows share the

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*eval.txt* For Vim version 8.1. Last change: 2019 May 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7271,7 +7271,7 @@ prop_type_add({name}, {props}) *prop_type_add()* *E969* *E970*
72717271
will be used; negative values can be used, the
72727272
default priority is zero
72737273
combine when TRUE combine the highlight with any
7274-
syntax highlight; when omitted of FALSE syntax
7274+
syntax highlight; when omitted or FALSE syntax
72757275
highlight will not be used
72767276
start_incl when TRUE inserts at the start position will
72777277
be included in the text property

runtime/doc/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.1. Last change: 2019 Apr 24
1+
*index.txt* For Vim version 8.1. Last change: 2019 May 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/insert.txt

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*insert.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -59,16 +59,16 @@ CTRL-C Quit insert mode, go back to Normal mode. Do not check for
5959
event.
6060

6161
*i_CTRL-@*
62-
CTRL-@ Insert previously inserted text and stop insert. {Vi: only
63-
when typed as first char, only up to 128 chars}
62+
CTRL-@ Insert previously inserted text and stop insert.
63+
6464
*i_CTRL-A*
6565
CTRL-A Insert previously inserted text.
6666

6767
*i_CTRL-H* *i_<BS>* *i_BS*
6868
<BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
6969
about joining lines).
7070
See |:fixdel| if your <BS> key does not do what you want.
71-
{Vi: does not delete autoindents}
71+
7272
*i_<Del>* *i_DEL*
7373
<Del> Delete the character under the cursor. If the cursor is at
7474
the end of the line, and the 'backspace' option includes
@@ -174,27 +174,26 @@ CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P*
174174
*i_CTRL-T*
175175
CTRL-T Insert one shiftwidth of indent at the start of the current
176176
line. The indent is always rounded to a 'shiftwidth' (this is
177-
vi compatible). {Vi: only when in indent}
177+
vi compatible).
178178
*i_CTRL-D*
179179
CTRL-D Delete one shiftwidth of indent at the start of the current
180180
line. The indent is always rounded to a 'shiftwidth' (this is
181-
vi compatible). {Vi: CTRL-D works only when used after
182-
autoindent}
181+
vi compatible).
183182
*i_0_CTRL-D*
184-
0 CTRL-D Delete all indent in the current line. {Vi: CTRL-D works
185-
only when used after autoindent}
183+
0 CTRL-D Delete all indent in the current line.
184+
186185
*i_^_CTRL-D*
187186
^ CTRL-D Delete all indent in the current line. The indent is
188187
restored in the next line. This is useful when inserting a
189-
label. {Vi: CTRL-D works only when used after autoindent}
188+
label.
190189

191190
*i_CTRL-V*
192191
CTRL-V Insert next non-digit literally. For special keys, the
193192
terminal code is inserted. It's also possible to enter the
194193
decimal, octal or hexadecimal value of a character
195194
|i_CTRL-V_digit|.
196195
The characters typed right after CTRL-V are not considered for
197-
mapping. {Vi: no decimal byte entry}
196+
mapping.
198197
Note: When CTRL-V is mapped (e.g., to paste text) you can
199198
often use CTRL-Q instead |i_CTRL-Q|.
200199

@@ -273,7 +272,6 @@ For backwards compatibility the values "0", "1" and "2" are also allowed, see
273272
If the 'backspace' option does contain "eol" and the cursor is in column 1
274273
when one of the three keys is used, the current line is joined with the
275274
previous line. This effectively deletes the <EOL> in front of the cursor.
276-
{Vi: does not cross lines, does not delete past start position of insert}
277275

278276
*i_CTRL-V_digit*
279277
With CTRL-V the decimal, octal or hexadecimal value of a character can be
@@ -1815,15 +1813,13 @@ gi Insert text in the same position as where Insert mode
18151813

18161814
*o*
18171815
o Begin a new line below the cursor and insert text,
1818-
repeat [count] times. {Vi: blank [count] screen
1819-
lines}
1816+
repeat [count] times.
18201817
When the '#' flag is in 'cpoptions' the count is
18211818
ignored.
18221819

18231820
*O*
18241821
O Begin a new line above the cursor and insert text,
1825-
repeat [count] times. {Vi: blank [count] screen
1826-
lines}
1822+
repeat [count] times.
18271823
When the '#' flag is in 'cpoptions' the count is
18281824
ignored.
18291825

runtime/doc/intro.txt

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*intro.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*intro.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -646,11 +646,7 @@ Ex :vi -- -- -- -- --
646646
the command.
647647
In the last case <Esc> may be the character defined with the 'wildchar'
648648
option, in which case it will start command-line completion. You can
649-
ignore that and type <Esc> again. {Vi: when hitting <Esc> the command-line
650-
is executed. This is unexpected for most people; therefore it was changed
651-
in Vim. But when the <Esc> is part of a mapping, the command-line is
652-
executed. If you want the Vi behaviour also when typing <Esc>, use ":cmap
653-
^V<Esc> ^V^M"}
649+
ignore that and type <Esc> again.
654650
*4 Go from Normal to Select mode by:
655651
- use the mouse to select text while 'selectmode' contains "mouse"
656652
- use a non-printable command to move the cursor while keeping the Shift
@@ -713,7 +709,6 @@ exceptions:
713709
character.
714710
- When inserting text in one window, other windows on the same text are not
715711
updated until the insert is finished.
716-
{Vi: The screen is not always updated on slow terminals}
717712

718713
Lines longer than the window width will wrap, unless the 'wrap' option is off
719714
(see below). The 'linebreak' option can be set to wrap at a blank character.
@@ -759,7 +754,6 @@ If there is a single line that is too long to fit in the window, this is a
759754
special situation. Vim will show only part of the line, around where the
760755
cursor is. There are no special characters shown, so that you can edit all
761756
parts of this line.
762-
{Vi: gives an "internal error" on lines that do not fit in the window}
763757

764758
The '@' occasion in the 'highlight' option can be used to set special
765759
highlighting for the '@' and '~' characters. This makes it possible to
@@ -774,7 +768,7 @@ that is not shown, the screen is scrolled horizontally. The advantage of
774768
this method is that columns are shown as they are and lines that cannot fit
775769
on the screen can be edited. The disadvantage is that you cannot see all the
776770
characters of a line at once. The 'sidescroll' option can be set to the
777-
minimal number of columns to scroll. {Vi: has no 'wrap' option}
771+
minimal number of columns to scroll.
778772

779773
All normal ASCII characters are displayed directly on the screen. The <Tab>
780774
is replaced with the number of spaces that it represents. Other non-printing
@@ -806,16 +800,14 @@ command characters 'showcmd' on off
806800
cursor position 'ruler' off off
807801

808802
The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
809-
command characters are those that you typed but were not used yet. {Vi: does
810-
not show the characters you typed or the cursor position}
803+
command characters are those that you typed but were not used yet.
811804

812805
If you have a slow terminal you can switch off the status messages to speed
813806
up editing:
814807
:set nosc noru nosm
815808

816809
If there is an error, an error message will be shown for at least one second
817-
(in reverse video). {Vi: error messages may be overwritten with other
818-
messages before you have a chance to read them}
810+
(in reverse video).
819811

820812
Some commands show how many lines were affected. Above which threshold this
821813
happens can be controlled with the 'report' option (default 2).
@@ -828,7 +820,7 @@ Make it at least 40 characters wide to be able to read most messages on the
828820
last line.
829821

830822
On most Unix systems, resizing the window is recognized and handled correctly
831-
by Vim. {Vi: not ok}
823+
by Vim.
832824

833825
==============================================================================
834826
8. Definitions *definitions*

runtime/doc/message.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*message.txt* For Vim version 8.1. Last change: 2019 May 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -798,7 +798,6 @@ and the screen is about to be redrawn:
798798
like pressing <Space>. This makes it impossible to select text though.
799799
-> For the GUI clicking the left mouse button in the last line works like
800800
pressing <Space>.
801-
{Vi: only ":" commands are interpreted}
802801

803802
If you accidentally hit <Enter> or <Space> and you want to see the displayed
804803
text then use |g<|. This only works when 'more' is set.

0 commit comments

Comments
 (0)