|
1 |
| -*options.txt* For Vim version 9.1. Last change: 2025 Jul 05 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2025 Jul 08 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -9759,6 +9759,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
9759 | 9759 | < 'wildchar' also enables completion in search pattern contexts such as
|
9760 | 9760 | |/|, |?|, |:s|, |:g|, |:v|, and |:vim|. To insert a literal <Tab>
|
9761 | 9761 | instead of triggering completion, type <C-V><Tab> or "\t".
|
| 9762 | + See also |'wildoptions'|. |
9762 | 9763 | NOTE: This option is set to the Vi default value when 'compatible' is
|
9763 | 9764 | set and to the Vim default value when 'compatible' is reset.
|
9764 | 9765 |
|
@@ -9926,6 +9927,20 @@ A jump table for the options with a short description can be found at |Q_op|.
|
9926 | 9927 | A list of words that change how |cmdline-completion| is done.
|
9927 | 9928 |
|
9928 | 9929 | The following values are supported:
|
| 9930 | + exacttext When this flag is present, search pattern completion |
| 9931 | + (e.g., in |/|, |?|, |:s|, |:g|, |:v|, and |:vim|) |
| 9932 | + shows exact buffer text as menu items, without |
| 9933 | + preserving regex artifacts like position |
| 9934 | + anchors (e.g., |/\<|). This provides more intuitive |
| 9935 | + menu items that match the actual buffer text. |
| 9936 | + However, searches may be less accurate since the |
| 9937 | + pattern is not preserved exactly. |
| 9938 | + By default, Vim preserves the typed pattern (with |
| 9939 | + anchors) and appends the matched word. This preserves |
| 9940 | + search correctness, especially when using regular |
| 9941 | + expressions or with 'smartcase' enabled. However, the |
| 9942 | + case of the appended matched word may not exactly |
| 9943 | + match the case of the word in the buffer. |
9929 | 9944 | fuzzy Use |fuzzy-matching| to find completion matches. When
|
9930 | 9945 | this value is specified, wildcard expansion will not
|
9931 | 9946 | be used for completion. The matches will be sorted by
|
|
0 commit comments