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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -936,7 +936,7 @@ Note: these are typed literally, they are not special keys!
936
936
When the match is with a file name, it is expanded to the
937
937
full path.
938
938
*:<sfile>* *<sfile>*
939
- <sfile> When executing a " :source" command, is replaced with the
939
+ <sfile> When executing a ` :source ` command, is replaced with the
940
940
file name of the sourced file. *E498*
941
941
When executing a legacy function, is replaced with the call
942
942
stack, as with <stack> (this is for backwards
@@ -959,7 +959,7 @@ Note: these are typed literally, they are not special keys!
959
959
defined.
960
960
If the file name cannot be determined you get error *E1274* .
961
961
*:<slnum>* *<slnum>*
962
- <slnum> When executing a " :source" command, is replaced with the
962
+ <slnum> When executing a ` :source ` command, is replaced with the
963
963
line number. *E842*
964
964
When executing a function it's the line number relative to
965
965
the start of the function.
@@ -1147,6 +1147,8 @@ character that indicates the type of command-line being edited, see
1147
1147
1148
1148
Vim will be in Normal mode when the editor is opened, except when 'insertmode'
1149
1149
is set.
1150
+ *E1292*
1151
+ Once a command-line window is open it is not possible to open another one.
1150
1152
1151
1153
The height of the window is specified with 'cmdwinheight' (or smaller if there
1152
1154
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.
1218
1220
If the 'wildchar' option is set to <Tab> , and the command-line window is used
1219
1221
for an Ex command, then two mappings will be added to use <Tab> for completion
1220
1222
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>
1223
1225
Note that hitting <Tab> in Normal mode will do completion on the next
1224
1226
character. That way it works at the end of the line.
1225
1227
If you don't want these mappings, disable them with: >
0 commit comments