Commit: runtime(doc): fix pattern problem in cmdline.txt

0 views
Skip to first unread message

Christian Brabandt

unread,
Feb 6, 2026, 5:31:31 AM (11 days ago) Feb 6
to vim...@googlegroups.com
runtime(doc): fix pattern problem in cmdline.txt

Commit: https://github.com/vim/vim/commit/422ef984b519a989247696ac5e8b785a664627b1
Author: Mao-Yining <mao.y...@outlook.com>
Date: Fri Feb 6 10:19:55 2026 +0000

runtime(doc): fix pattern problem in cmdline.txt

closes: https://github.com/vim/vim/issues/19322

Signed-off-by: Mao-Yining <mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 4c607c917..52c1f4f3b 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:
Reply all
Reply to author
Forward
0 new messages