mirror of
https://github.com/neovim/neovim.git
synced 2026-02-18 10:21:26 +10:00
vim-patch:422ef98: runtime(doc): fix pattern problem in cmdline.txt (#37753)
closes: vim/vim#19322
422ef984b5
Co-authored-by: Mao-Yining <mao.yining@outlook.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user