runtime(doc): Improve command-line completion docs (#13331)

* Improve command-line completion docs

Add more details about 'ignorecase' and its effect on cmdline
completion.

Make sure keys used in wildmenu are properly documented and linked in the
keys' documentation entries, and in `:h index` for proper
cross-referencing, as wildmenu popup is slightly different from
insert-mode popup menu.

* Fix docs typos

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yee Cheng Chin
2023-10-14 02:23:45 -07:00
committed by GitHub
parent 29bb67f1be
commit 2bbd0d30ee
3 changed files with 49 additions and 19 deletions

View File

@ -1112,6 +1112,22 @@ tag command action in Command-line editing mode ~
|c_<Insert>| <Insert> toggle insert/overstrike mode
|c_<LeftMouse>| <LeftMouse> cursor at mouse click
commands in wildmenu mode (see 'wildmenu')
<Up> move up to parent / select the previous match
<Down> move down to submenu / select the next match
<Left> select the previous match / move up to parent
<Down> select the next match / move down to submenu
<CR> move into submenu when doing menu completion
other stop completion and insert the typed character
commands in wildmenu mode with 'wildoptions' set to "pum"
CTRL-E stop completion and go back to original text
CTRL-Y accept selected match and stop completion
<PageUp> select a match several entries back
<PageDown> select a match several entries forward
==============================================================================
5. Terminal-Job mode *terminal-job-index*