|
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 10 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -5898,6 +5898,15 @@ A jump table for the options with a short description can be found at |Q_op|. |
5898 | 5898 | used. |
5899 | 5899 | Also see 'maxmem'. |
5900 | 5900 |
|
| 5901 | + *'maxsearchcount'* *'msc'* |
| 5902 | +'maxsearchcount' 'msc' number (default 99) |
| 5903 | + global |
| 5904 | + Maximum number of matches shown for the search count status |shm-S| |
| 5905 | + When the number of matches exceeds this value, Vim shows ">" instead |
| 5906 | + of the exact count to keep searching fast. |
| 5907 | + Note: larger values may impact performance. |
| 5908 | + The value must be between 1 and 9999. |
| 5909 | + |
5901 | 5910 | *'menuitems'* *'mis'* |
5902 | 5911 | 'menuitems' 'mis' number (default 25) |
5903 | 5912 | global |
@@ -7669,7 +7678,8 @@ A jump table for the options with a short description can be found at |Q_op|. |
7669 | 7678 | is shown), the "search hit BOTTOM, continuing at TOP" and |
7670 | 7679 | "search hit TOP, continuing at BOTTOM" messages are only |
7671 | 7680 | indicated by a "W" (Mnemonic: Wrapped) letter before the |
7672 | | - search count statistics. |
| 7681 | + search count statistics. The maximum limit can be set with |
| 7682 | + the 'maxsearchcount' option. |
7673 | 7683 |
|
7674 | 7684 | This gives you the opportunity to avoid that a change between buffers |
7675 | 7685 | requires you to hit <Enter>, but still gives as useful a message as |
@@ -9759,6 +9769,7 @@ A jump table for the options with a short description can be found at |Q_op|. |
9759 | 9769 | < 'wildchar' also enables completion in search pattern contexts such as |
9760 | 9770 | |/|, |?|, |:s|, |:g|, |:v|, and |:vim|. To insert a literal <Tab> |
9761 | 9771 | instead of triggering completion, type <C-V><Tab> or "\t". |
| 9772 | + See also |'wildoptions'|. |
9762 | 9773 | NOTE: This option is set to the Vi default value when 'compatible' is |
9763 | 9774 | set and to the Vim default value when 'compatible' is reset. |
9764 | 9775 |
|
@@ -9926,6 +9937,20 @@ A jump table for the options with a short description can be found at |Q_op|. |
9926 | 9937 | A list of words that change how |cmdline-completion| is done. |
9927 | 9938 |
|
9928 | 9939 | The following values are supported: |
| 9940 | + exacttext When this flag is present, search pattern completion |
| 9941 | + (e.g., in |/|, |?|, |:s|, |:g|, |:v|, and |:vim|) |
| 9942 | + shows exact buffer text as menu items, without |
| 9943 | + preserving regex artifacts like position |
| 9944 | + anchors (e.g., |/\<|). This provides more intuitive |
| 9945 | + menu items that match the actual buffer text. |
| 9946 | + However, searches may be less accurate since the |
| 9947 | + pattern is not preserved exactly. |
| 9948 | + By default, Vim preserves the typed pattern (with |
| 9949 | + anchors) and appends the matched word. This preserves |
| 9950 | + search correctness, especially when using regular |
| 9951 | + expressions or with 'smartcase' enabled. However, the |
| 9952 | + case of the appended matched word may not exactly |
| 9953 | + match the case of the word in the buffer. |
9929 | 9954 | fuzzy Use |fuzzy-matching| to find completion matches. When |
9930 | 9955 | this value is specified, wildcard expansion will not |
9931 | 9956 | be used for completion. The matches will be sorted by |
|
0 commit comments