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
11481148Vim will be in Normal mode when the editor is opened, except when 'insertmode'
11491149is set.
1150+ *E1292*
1151+ Once a command-line window is open it is not possible to open another one.
11501152
11511153The height of the window is specified with 'cmdwinheight' (or smaller if there
11521154is 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.
12181220If the 'wildchar' option is set to <Tab> , and the command-line window is used
12191221for an Ex command, then two mappings will be added to use <Tab> for completion
12201222in 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
12241226character. That way it works at the end of the line.
12251227If you don't want these mappings, disable them with: >
0 commit comments