diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 3cc81eb08c..4bfb8e5fd4 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1017,7 +1017,7 @@ tag command action in Command-line editing mode ~ |c_CTRL-D| CTRL-D list completions that match the pattern in front of the cursor |c_CTRL-E| CTRL-E cursor to end of command-line -'cedit' CTRL-F default value for 'cedit': opens the +'cedit' CTRL-F default value for 'cedit': opens the command-line window; otherwise not used |c_CTRL-G| CTRL-G next match when 'incsearch' is active |c_| delete the character in front of the cursor diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt index 2e3f582171..9dc35a7cf9 100644 --- a/runtime/doc/vimfn.txt +++ b/runtime/doc/vimfn.txt @@ -11905,7 +11905,7 @@ wildtrigger() *wildtrigger()* *cmdline-autocompletion* Example: To make the completion menu pop up automatically as you type on the command line, use: >vim - autocmd CmdlineChanged [:/?] call wildtrigger() + autocmd CmdlineChanged [:/\?] call wildtrigger() set wildmode=noselect:lastused,full wildoptions=pum < To retain normal history navigation (up/down keys): >vim diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index a5d7c5c4ea..3fdc45eaf6 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -10837,7 +10837,7 @@ function vim.fn.wildmenumode() end --- *cmdline-autocompletion* --- Example: To make the completion menu pop up automatically as --- you type on the command line, use: >vim ---- autocmd CmdlineChanged [:/?] call wildtrigger() +--- autocmd CmdlineChanged [:/\?] call wildtrigger() --- set wildmode=noselect:lastused,full wildoptions=pum --- < --- To retain normal history navigation (up/down keys): >vim diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index f45633e159..e38198ce59 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -13095,7 +13095,7 @@ M.funcs = { *cmdline-autocompletion* Example: To make the completion menu pop up automatically as you type on the command line, use: >vim - autocmd CmdlineChanged [:/?] call wildtrigger() + autocmd CmdlineChanged [:/\?] call wildtrigger() set wildmode=noselect:lastused,full wildoptions=pum < To retain normal history navigation (up/down keys): >vim