From: Mao-Yining Date: Fri, 6 Feb 2026 10:19:55 +0000 (+0000) Subject: runtime(doc): fix pattern problem in cmdline.txt X-Git-Tag: v9.1.2136~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422ef984b519a989247696ac5e8b785a664627b1;p=thirdparty%2Fvim.git runtime(doc): fix pattern problem in cmdline.txt closes: #19322 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 4c607c9179..52c1f4f3b5 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*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 @@ -1381,10 +1381,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|. *cmdwin-char* The character used for the pattern indicates the type of command-line: