mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:f4b1a60: runtime(doc): update options.txt and clarify 'wildmode' further
related: vim/vim#17100
f4b1a60dd1
Co-authored-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
@@ -7125,7 +7125,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
applies to buffer name completion.
|
applies to buffer name completion.
|
||||||
"noselect" If 'wildmenu' is enabled, show the menu but do not
|
"noselect" If 'wildmenu' is enabled, show the menu but do not
|
||||||
preselect the first item.
|
preselect the first item.
|
||||||
If only one match exists, it is completed fully—unless "noselect" is
|
If only one match exists, it is completed fully, unless "noselect" is
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
Some useful combinations of colon-separated values:
|
Some useful combinations of colon-separated values:
|
||||||
@@ -7161,7 +7161,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
|
< Show 'wildmenu' without completing or selecting on first press
|
||||||
Cycle full matches on second press >vim
|
Cycle full matches on second press >vim
|
||||||
set wildmode=noselect:lastused,full
|
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|.
|
More info here: |cmdline-completion|.
|
||||||
|
|
||||||
*'wildoptions'* *'wop'*
|
*'wildoptions'* *'wop'*
|
||||||
|
4
runtime/lua/vim/_meta/options.lua
generated
4
runtime/lua/vim/_meta/options.lua
generated
@@ -7778,7 +7778,7 @@ vim.go.wmnu = vim.go.wildmenu
|
|||||||
--- applies to buffer name completion.
|
--- applies to buffer name completion.
|
||||||
--- "noselect" If 'wildmenu' is enabled, show the menu but do not
|
--- "noselect" If 'wildmenu' is enabled, show the menu but do not
|
||||||
--- preselect the first item.
|
--- preselect the first item.
|
||||||
--- If only one match exists, it is completed fully—unless "noselect" is
|
--- If only one match exists, it is completed fully, unless "noselect" is
|
||||||
--- specified.
|
--- specified.
|
||||||
---
|
---
|
||||||
--- Some useful combinations of colon-separated values:
|
--- Some useful combinations of colon-separated values:
|
||||||
@@ -7835,7 +7835,7 @@ vim.go.wmnu = vim.go.wildmenu
|
|||||||
--- ```vim
|
--- ```vim
|
||||||
--- set wildmode=noselect:lastused,full
|
--- 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`.
|
--- More info here: `cmdline-completion`.
|
||||||
---
|
---
|
||||||
--- @type string
|
--- @type string
|
||||||
|
@@ -10155,7 +10155,7 @@ local options = {
|
|||||||
applies to buffer name completion.
|
applies to buffer name completion.
|
||||||
"noselect" If 'wildmenu' is enabled, show the menu but do not
|
"noselect" If 'wildmenu' is enabled, show the menu but do not
|
||||||
preselect the first item.
|
preselect the first item.
|
||||||
If only one match exists, it is completed fully—unless "noselect" is
|
If only one match exists, it is completed fully, unless "noselect" is
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
Some useful combinations of colon-separated values:
|
Some useful combinations of colon-separated values:
|
||||||
@@ -10191,7 +10191,7 @@ local options = {
|
|||||||
< Show 'wildmenu' without completing or selecting on first press
|
< Show 'wildmenu' without completing or selecting on first press
|
||||||
Cycle full matches on second press >vim
|
Cycle full matches on second press >vim
|
||||||
set wildmode=noselect:lastused,full
|
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|.
|
More info here: |cmdline-completion|.
|
||||||
]=],
|
]=],
|
||||||
full_name = 'wildmode',
|
full_name = 'wildmode',
|
||||||
|
Reference in New Issue
Block a user