Skip to content

Commit 3d4ef0c

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents cfbdbf7 + 6f1d2aa commit 3d4ef0c

118 files changed

Lines changed: 780 additions & 258 deletions

File tree

Some content is hidden

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

runtime/doc/autocmd.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.2. Last change: 2021 Apr 25
1+
*autocmd.txt* For Vim version 8.2. Last change: 2021 May 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -992,9 +992,10 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
992992
*QuitPre*
993993
QuitPre When using `:quit`, `:wq` or `:qall`, before
994994
deciding whether it closes the current window
995-
or quits Vim. Can be used to close any
996-
non-essential window if the current window is
997-
the last ordinary window.
995+
or quits Vim. For `:wq` the buffer is written
996+
before QuitPre is triggered. Can be used to
997+
close any non-essential window if the current
998+
window is the last ordinary window.
998999
Also see |ExitPre|.
9991000
*RemoteReply*
10001001
RemoteReply When a reply from a Vim that functions as

runtime/doc/change.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,11 @@ inside of strings can change! Also see 'softtabstop' option. >
11261126
Using the mouse only works when 'mouse' contains 'n'
11271127
or 'a'.
11281128

1129+
["x]zp or *zp* *zP*
1130+
["x]zP Like "p" and "P", except without adding trailing spaces
1131+
when pasting a block. Thus the inserted text will not
1132+
always be a rectangle.
1133+
11291134
You can use these commands to copy text from one place to another. Do this
11301135
by first getting the text into a register with a yank, delete or change
11311136
command, then inserting the register contents with a put command. You can
@@ -1165,6 +1170,9 @@ a register, a paste on a visual selected area will paste that single line on
11651170
each of the selected lines (thus replacing the blockwise selected region by a
11661171
block of the pasted line).
11671172

1173+
Use |zP|/|zp| to paste a blockwise yanked register without appending trailing
1174+
spaces.
1175+
11681176
*blockwise-register*
11691177
If you use a blockwise Visual mode command to get the text into the register,
11701178
the block of text will be inserted before ("P") or after ("p") the cursor

runtime/doc/cmdline.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 08
1+
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 30
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1134,7 +1134,7 @@ in Normal mode and Insert mode.
11341134
It is possible to use ":", "/" and other commands that use the command-line,
11351135
but it's not possible to open another command-line window then. There is no
11361136
nesting.
1137-
*E11*
1137+
*E11* *E1188*
11381138
The command-line window is not a normal window. It is not possible to move to
11391139
another window or edit another buffer. All commands that would do this are
11401140
disabled in the command-line window. Of course it _is_ possible to execute

runtime/doc/diff.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 8.2. Last change: 2021 Feb 10
1+
*diff.txt* For Vim version 8.2. Last change: 2021 May 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -345,9 +345,11 @@ between file1 and file2: >
345345
346346
The ">" is replaced with the value of 'shellredir'.
347347

348-
The output of "diff" must be a normal "ed" style diff or a unified diff. Do
349-
NOT use a context diff. This example explains the format that Vim expects for
350-
the "ed" style diff: >
348+
The output of "diff" must be a normal "ed" style diff or a unified diff. A
349+
context diff will NOT work. For a unified diff no context lines can be used.
350+
Using "diff -u" will NOT work, use "diff -U0".
351+
352+
This example explains the format that Vim expects for the "ed" style diff: >
351353
352354
1a2
353355
> bbb

runtime/doc/editing.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.2. Last change: 2021 Apr 05
1+
*editing.txt* For Vim version 8.2. Last change: 2021 May 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1320,8 +1320,8 @@ present in 'cpoptions' and "!" is not used in the command.
13201320
*:chd* *:chdir*
13211321
:chd[ir][!] [path] Same as |:cd|.
13221322

1323-
*:tcd*
1324-
:tcd[!] {path} Like |:cd|, but only set the directory for the current
1323+
*:tc* *:tcd*
1324+
:tc[d][!] {path} Like |:cd|, but only set the directory for the current
13251325
tab. The current window will also use this directory.
13261326
The current directory is not changed for windows in
13271327
other tabs and for windows in the current tab that
@@ -1331,7 +1331,7 @@ present in 'cpoptions' and "!" is not used in the command.
13311331
:tch[dir][!] Same as |:tcd|.
13321332

13331333
*:tcd-*
1334-
:tcd[!] - Change to the previous current directory, before the
1334+
:tc[d][!] - Change to the previous current directory, before the
13351335
last ":tcd {path}" command.
13361336

13371337
*:lc* *:lcd*

runtime/doc/ft_sql.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ the space bar):
440440
replace the column list with the list of tables.
441441
- This allows you to quickly drill down into a
442442
table to view its columns and back again.
443-
- <Right> and <Left> can be also be chosen via
443+
- <Right> and <Left> can also be chosen via
444444
your |.vimrc| >
445445
let g:ftplugin_sql_omni_key_right = '<Right>'
446446
let g:ftplugin_sql_omni_key_left = '<Left>'

runtime/doc/if_tcl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_tcl.txt* For Vim version 8.2. Last change: 2019 Jul 21
1+
*if_tcl.txt* For Vim version 8.2. Last change: 2021 May 27
22

33

44
VIM REFERENCE MANUAL by Ingo Wilken
@@ -25,12 +25,12 @@ comments, ideas etc to <[email protected]>
2525
==============================================================================
2626
1. Commands *tcl-ex-commands* *E571* *E572*
2727

28-
*:tcl* *:tc*
29-
:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
28+
*:tcl*
29+
:tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
3030
is working: >
3131
:tcl puts "Hello"
3232
33-
:[range]tc[l] << [trim] [{endmarker}]
33+
:[range]tcl << [trim] [{endmarker}]
3434
{script}
3535
{endmarker}
3636
Execute Tcl script {script}.

runtime/doc/index.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.2. Last change: 2021 Apr 24
1+
*index.txt* For Vim version 8.2. Last change: 2021 May 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -864,6 +864,8 @@ tag char note action in Normal mode ~
864864
|zm| zm subtract one from 'foldlevel'
865865
|zn| zn reset 'foldenable'
866866
|zo| zo open fold
867+
|zp| zp paste in block-mode without trailing spaces
868+
|zP| zP paste in block-mode without trailing spaces
867869
|zr| zr add one to 'foldlevel'
868870
|zs| zs when 'wrap' off scroll horizontally to
869871
position the cursor at the start (left
@@ -1659,9 +1661,9 @@ tag command action ~
16591661
|:tab| :tab create new tab when opening new window
16601662
|:tag| :ta[g] jump to tag
16611663
|:tags| :tags show the contents of the tag stack
1662-
|:tcd| :tcd change directory for tab page
1664+
|:tcd| :tc[d] change directory for tab page
16631665
|:tchdir| :tch[dir] change directory for tab page
1664-
|:tcl| :tc[l] execute Tcl command
1666+
|:tcl| :tcl execute Tcl command
16651667
|:tcldo| :tcld[o] execute Tcl command for each line
16661668
|:tclfile| :tclf[ile] execute Tcl script file
16671669
|:tearoff| :te[aroff] tear-off a menu

runtime/doc/options.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.2. Last change: 2021 May 15
1+
*options.txt* For Vim version 8.2. Last change: 2021 May 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2843,7 +2843,8 @@ A jump table for the options with a short description can be found at |Q_op|.
28432843
|setcellwidths()| function to change the behavior.
28442844

28452845
*'encoding'* *'enc'* *E543*
2846-
'encoding' 'enc' string (default: "latin1" or value from $LANG)
2846+
'encoding' 'enc' string (default for MS-Windows: "utf-8",
2847+
otherwise: value from $LANG or "latin1")
28472848
global
28482849
Sets the character encoding used inside Vim. It applies to text in
28492850
the buffers, registers, Strings in expressions, text stored in the
@@ -3130,9 +3131,10 @@ A jump table for the options with a short description can be found at |Q_op|.
31303131
because Vim cannot detect an error, thus the encoding is always
31313132
accepted.
31323133
The special value "default" can be used for the encoding from the
3133-
environment. This is the default value for 'encoding'. It is useful
3134-
when 'encoding' is set to "utf-8" and your environment uses a
3135-
non-latin1 encoding, such as Russian.
3134+
environment. On MS-Windows this is the system encoding. Otherwise
3135+
this is the default value for 'encoding'. It is useful when
3136+
'encoding' is set to "utf-8" and your environment uses a non-latin1
3137+
encoding, such as Russian.
31363138
When 'encoding' is "utf-8" and a file contains an illegal byte
31373139
sequence it won't be recognized as UTF-8. You can use the |8g8|
31383140
command to find the illegal byte sequence.
@@ -7626,6 +7628,8 @@ A jump table for the options with a short description can be found at |Q_op|.
76267628
'switchbuf' 'swb' string (default "")
76277629
global
76287630
This option controls the behavior when switching between buffers.
7631+
Mostly for |quickfix| commands some values are also used for other
7632+
commands, as mentioned below.
76297633
Possible values (comma separated list):
76307634
useopen If included, jump to the first open window that
76317635
contains the specified buffer (if there is one).

runtime/doc/quickfix.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickfix.txt* For Vim version 8.2. Last change: 2021 May 02
1+
*quickfix.txt* For Vim version 8.2. Last change: 2021 May 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1386,7 +1386,8 @@ Basic items
13861386
%o module name (finds a string)
13871387
%l line number (finds a number)
13881388
%c column number (finds a number representing character
1389-
column of the error, (1 <tab> == 1 character column))
1389+
column of the error, byte index, a <tab> is 1
1390+
character column)
13901391
%v virtual column number (finds a number representing
13911392
screen column of the error (1 <tab> == 8 screen
13921393
columns))

0 commit comments

Comments
 (0)