Skip to content

Commit b94c02d

Browse files
committed
{cmdline,eval,insert}.txt: Update Vim 9.0.0195
1 parent 64ad987 commit b94c02d

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

en/cmdline.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 9.0. Last change: 2022 Apr 29
1+
*cmdline.txt* For Vim version 9.0. Last change: 2022 Jun 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -936,7 +936,7 @@ Note: these are typed literally, they are not special keys!
936936
When the match is with a file name, it is expanded to the
937937
full path.
938938
*:<sfile>* *<sfile>*
939-
<sfile> When executing a ":source" command, is replaced with the
939+
<sfile> When executing a `:source` command, is replaced with the
940940
file name of the sourced file. *E498*
941941
When executing a legacy function, is replaced with the call
942942
stack, as with <stack> (this is for backwards
@@ -959,7 +959,7 @@ Note: these are typed literally, they are not special keys!
959959
defined.
960960
If the file name cannot be determined you get error *E1274* .
961961
*:<slnum>* *<slnum>*
962-
<slnum> When executing a ":source" command, is replaced with the
962+
<slnum> When executing a `:source` command, is replaced with the
963963
line number. *E842*
964964
When executing a function it's the line number relative to
965965
the start of the function.
@@ -1147,6 +1147,8 @@ character that indicates the type of command-line being edited, see
11471147

11481148
Vim will be in Normal mode when the editor is opened, except when 'insertmode'
11491149
is set.
1150+
*E1292*
1151+
Once a command-line window is open it is not possible to open another one.
11501152

11511153
The height of the window is specified with 'cmdwinheight' (or smaller if there
11521154
is no room). The window is always full width and is positioned just above the
@@ -1218,8 +1220,8 @@ save the command-line history and read it back later.
12181220
If the 'wildchar' option is set to <Tab>, and the command-line window is used
12191221
for an Ex command, then two mappings will be added to use <Tab> for completion
12201222
in the command-line window, like this: >
1221-
:imap <buffer> <Tab> <C-X><C-V>
1222-
:nmap <buffer> <Tab> a<C-X><C-V>
1223+
:inoremap <buffer> <Tab> <C-X><C-V>
1224+
:nnoremap <buffer> <Tab> a<C-X><C-V>
12231225
Note that hitting <Tab> in Normal mode will do completion on the next
12241226
character. That way it works at the end of the line.
12251227
If you don't want these mappings, disable them with: >

en/eval.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ parenthesis), or any expression in parentheses: >
13991399
base->alist[idx](args)
14001400
base->(getFuncRef())(args)
14011401
Note that in the last call the base is passed to the function resulting from
1402-
"(getFuncRef())", inserted before "args".
1402+
"(getFuncRef())", inserted before "args". *E1275*
14031403

14041404
*E274*
14051405
"->name(" must not contain white space. There can be white space before the
@@ -1549,7 +1549,7 @@ to be doubled. These two commands are equivalent: >
15491549
if a =~ '\s*'
15501550
15511551
1552-
interpolated-string *$quote* *interp-string* *E256*
1552+
interpolated-string *$quote* *interp-string*
15531553
--------------------
15541554
$"string" interpolated string constant *expr-$quote*
15551555
$'string' interpolated literal string constant *expr-$'*
@@ -1559,7 +1559,7 @@ allowing the inclusion of Vim script expressions (see |expr1|). Any
15591559
expression returning a value can be enclosed between curly braces. The value
15601560
is converted to a string. All the text and results of the expressions
15611561
are concatenated to make a new string.
1562-
*E1278*
1562+
*E1278* *E1279*
15631563
To include an opening brace '{' or closing brace '}' in the string content
15641564
double it. For double quoted strings using a backslash also works. A single
15651565
closing brace '}' will result in an error.
@@ -2005,6 +2005,8 @@ v:completed_item
20052005
|Dictionary| containing the |complete-items| for the most
20062006
recently completed word after |CompleteDone|. The
20072007
|Dictionary| is empty if the completion failed.
2008+
Note: Plugins can modify the value to emulate the builtin
2009+
|CompleteDone| event behavior.
20082010

20092011
*v:count* *count-variable*
20102012
v:count The count given for the last Normal mode command. Can be used
@@ -2680,7 +2682,7 @@ See |:verbose-cmd| for more information.
26802682
Define a new function by the name {name}. The body of
26812683
the function follows in the next lines, until the
26822684
matching |:endfunction|.
2683-
2685+
*E1267*
26842686
The name must be made of alphanumeric characters and
26852687
'_', and must start with a capital or "s:" (see
26862688
above). Note that using "b:" or "g:" is not allowed.

en/insert.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ CTRL-G CTRL-J cursor one line down, insert start column *i_CTRL-G_CTRL-J*
388388
CTRL-O execute one command, return to Insert mode *i_CTRL-O*
389389
CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
390390
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
391-
CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
392-
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
393-
movement, if the cursor stays within the
394-
same line
391+
CTRL-G u close undo sequence, start new change *i_CTRL-G_u*
392+
CTRL-G U don't start a new undo block with the next *i_CTRL-G_U*
393+
left/right cursor movement, if the cursor
394+
stays within the same line
395395
-----------------------------------------------------------------------
396396

397397
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'
@@ -428,8 +428,8 @@ that, with CTRL-O u. Another example: >
428428
429429
:inoremap <CR> <C-]><C-G>u<CR>
430430
431-
This breaks undo at each line break. It also expands abbreviations before
432-
this.
431+
This starts a new undo block at each line break. It also expands
432+
abbreviations before this.
433433

434434
An example for using CTRL-G U: >
435435
@@ -443,9 +443,9 @@ An example for using CTRL-G U: >
443443
inoremap <expr> <End> repeat('<C-G>U<Right>', col('$') - col('.'))
444444
inoremap ( ()<C-G>U<Left>
445445
446-
This makes it possible to use the cursor keys in Insert mode, without breaking
447-
the undo sequence and therefore using |.| (redo) will work as expected.
448-
Also entering a text like (with the "(" mapping from above):
446+
This makes it possible to use the cursor keys in Insert mode, without starting
447+
a new undo block and therefore using |.| (redo) will work as expected. Also
448+
entering a text like (with the "(" mapping from above):
449449

450450
Lorem ipsum (dolor
451451

0 commit comments

Comments
 (0)