diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index a88d35688a..e730fa5a82 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1299,10 +1299,10 @@ Example: > :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|. *cmdline-char* *cmdwin-char* The character used for the pattern indicates the type of command-line: