diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-27 07:33:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 07:33:29 +0800 |
commit | 58b29e344c639e47fd916129d2195883537357b6 (patch) | |
tree | 2a6d4599e7549786d624756ac8d6e4cfd46fce83 /runtime | |
parent | d5e08837128530f05b2fc8900e826f767e4961ee (diff) | |
parent | 608134794d2a039358825396b860a7f432c1a4bd (diff) | |
download | rneovim-58b29e344c639e47fd916129d2195883537357b6.tar.gz rneovim-58b29e344c639e47fd916129d2195883537357b6.tar.bz2 rneovim-58b29e344c639e47fd916129d2195883537357b6.zip |
Merge pull request #19962 from zeertzjq/vim-9.0.0278
vim-patch:9.0.{0278,0279,0283,0284}: cmdline completion patches
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 164e09ccce..cd4a1bea5a 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6940,12 +6940,15 @@ A jump table for the options with a short description can be found at |Q_op|. *'wildmenu'* *'wmnu'* *'nowildmenu'* *'nowmnu'* 'wildmenu' 'wmnu' boolean (default on) global - Enables "enhanced mode" of command-line completion. When user hits - <Tab> (or 'wildchar') to invoke completion, the possible matches are - shown in a menu just above the command-line (see 'wildoptions'), with - the first match highlighted (overwriting the statusline). Keys that - show the previous/next match (<Tab>/CTRL-P/CTRL-N) highlight the - match. + When 'wildmenu' is on, command-line completion operates in an enhanced + mode. On pressing 'wildchar' (usually <Tab>) to invoke completion, + the possible matches are shown. + When 'wildoptions' contains "pum", then the completion matches are + shown in a popup menu. Otherwise they are displayed just above the + command line, with the first match highlighted (overwriting the status + line, if there is one). + Keys that show the previous/next match, such as <Tab> or + CTRL-P/CTRL-N, cause the highlight to move to the appropriate match. 'wildmode' must specify "full": "longest" and "list" do not start 'wildmenu' mode. You can check the current mode with |wildmenumode()|. The menu is canceled when a key is hit that is not used for selecting |