-*cmdline.txt* For Vim version 9.1. Last change: 2025 Nov 09
+*cmdline.txt* For Vim version 9.1. Last change: 2026 Feb 06
VIM REFERENCE MANUAL by Bram Moolenaar
:au CmdwinLeave : let &cpt = b:cpt_save
This sets 'complete' to use completion in the current window for |i_CTRL-N|.
Another example: >
- :au CmdwinEnter [/\?] startinsert
+ :au CmdwinEnter [\/\?] startinsert
This will make Vim start in Insert mode in the command-line window.
-Note: The "?" needs to be escaped, as this is a |file-pattern|. See also
-|cmdline-autocompletion|.
+Note: The "\" and "?" needs to be escaped, as this is a |file-pattern|.
+See also |cmdline-autocompletion|.
*cmdwin-char*
The character used for the pattern indicates the type of command-line: