runtime(doc): update options.txt and clarify 'wildmode' further

related: #17100

Co-authored-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-04-13 18:06:49 +02:00
parent 3cbd7f18e3
commit f4b1a60dd1

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2025 Apr 12
*options.txt* For Vim version 9.1. Last change: 2025 Apr 13
VIM REFERENCE MANUAL by Bram Moolenaar
@ -9662,7 +9662,7 @@ A jump table for the options with a short description can be found at |Q_op|.
applies to buffer name completion.
"noselect" If 'wildmenu' is enabled, show the menu but do not
preselect the first item.
If only one match exists, it is completed fullyunless "noselect" is
If only one match exists, it is completed fully, unless "noselect" is
specified.
Some useful combinations of colon-separated values:
@ -9698,7 +9698,7 @@ A jump table for the options with a short description can be found at |Q_op|.
< Show 'wildmenu' without completing or selecting on first press
Cycle full matches on second press >
:set wildmode=noselect:lastused,full
< Same as above, but buffer matches are sorted by last used
< Same as above, but buffer matches are sorted by time last used
More info here: |cmdline-completion|.
*'wildoptions'* *'wop'*