Skip to content

Commit e1dba3a

Browse files
authored
Merge pull request #2149 from h-east/update-options
Update options.{txt,jax}
2 parents 55e37e9 + 5322805 commit e1dba3a

File tree

2 files changed

+54
-4
lines changed

2 files changed

+54
-4
lines changed

doc/options.jax

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Jul 10
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -5943,6 +5943,15 @@ Note 1番目の形式では、行全体がオプション指定に使われる
59435943
る。
59445944
'maxmem' も参照。
59455945

5946+
*'maxsearchcount'* *'msc'*
5947+
'maxsearchcount' 'msc' 数値 (既定では 99)
5948+
グローバル
5949+
検索カウントステータスに表示されるマッチの最大数 |shm-S| 。
5950+
マッチ数がこの値を超えると、検索を高速化するために、正確な数の代わりに
5951+
">" が表示される。
5952+
Note: 値を大きくするとパフォーマンスに影響する可能性がある。
5953+
値は 1 から 9999 までの範囲で指定する必要がある。
5954+
59465955
*'menuitems'* *'mis'*
59475956
'menuitems' 'mis' 数値 (既定では 25)
59485957
グローバル
@@ -7691,7 +7700,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
76917700
"[1/5]"。"S" フラグが指定されない (例えば、検索件数が表示され
76927701
る) 場合、"search hit BOTTOM, continuing at TOP" および
76937702
"search hit TOP, continuing at BOTTOM" メッセージは、検索件数
7694-
統計の前に "W" (覚え方: Wrapped) 文字のみで示される。
7703+
統計の前に "W" (覚え方: Wrapped) 文字のみで示される。最大制限
7704+
数は 'maxsearchcount' オプションで設定できる。
76957705

76967706
{訳注: 以下日本語メッセージの場合:
76977707
"[Incomplete last line]" "[最終行が不完全]"
@@ -9787,6 +9797,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
97879797
< 'wildchar' は、|/|、|?|、|:s|、|:g|、|:v|、|:vim| などの検索パターンコ
97889798
ンテキストでも補完を有効にする。補完をトリガーする代わりに、文字の
97899799
<Tab> を挿入するには、<C-V><Tab> または "\t" と入力する。
9800+
|'wildoptions'| も参照。
97909801
NOTE: このオプションは 'compatible' がオンになると Vi の既定値に設定さ
97919802
れ、'compatible' がオフになると Vim の既定値に設定されるので注意。
97929803

@@ -9949,6 +9960,20 @@ Note 1番目の形式では、行全体がオプション指定に使われる
99499960
コマンドライン補完 |cmdline-completion| の挙動を変える単語のリスト。
99509961

99519962
以下の値をサポートする:
9963+
exacttext このフラグを指定すると、検索パターン補完 (例: |/|、
9964+
|?|、|:s|、|:g|、|:v|、|:vim|) で、正規表現の位置アン
9965+
カー (例: |/<|) のような記号を含めず、バッファ内の実際
9966+
のテキストと完全にマッチする内容がメニュー項目として表
9967+
示される。これにより、バッファ内のテキストと直感的に
9968+
マッチするメニュー項目が表示される。
9969+
ただし、パターンが正確に保存されないため、検索の精度が
9970+
低下する可能性がある。
9971+
デフォルトでは、Vim は入力されたパターン (アンカー付き)
9972+
を保存し、マッチした単語を追加する。これにより、特に正
9973+
規表現を使用している場合や 'smartcase' が有効になって
9974+
いる場合に、検索の正確性が維持される。ただし、追加され
9975+
たマッチした単語の大文字と小文字は、バッファ内の単語の
9976+
大文字と小文字が完全にマッチしない場合がある。
99529977
fuzzy 補完のマッチ検索にファジーマッチ |fuzzy-matching| を使
99539978
用する。この値が設定された場合、補完でワイルドカード展
99549979
開が使用されなくなる。マッチ結果はアルファベット順ソー

en/options.txt

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33

44
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|.
58985898
used.
58995899
Also see 'maxmem'.
59005900

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+
59015910
*'menuitems'* *'mis'*
59025911
'menuitems' 'mis' number (default 25)
59035912
global
@@ -7669,7 +7678,8 @@ A jump table for the options with a short description can be found at |Q_op|.
76697678
is shown), the "search hit BOTTOM, continuing at TOP" and
76707679
"search hit TOP, continuing at BOTTOM" messages are only
76717680
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.
76737683

76747684
This gives you the opportunity to avoid that a change between buffers
76757685
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|.
97599769
< 'wildchar' also enables completion in search pattern contexts such as
97609770
|/|, |?|, |:s|, |:g|, |:v|, and |:vim|. To insert a literal <Tab>
97619771
instead of triggering completion, type <C-V><Tab> or "\t".
9772+
See also |'wildoptions'|.
97629773
NOTE: This option is set to the Vi default value when 'compatible' is
97639774
set and to the Vim default value when 'compatible' is reset.
97649775

@@ -9926,6 +9937,20 @@ A jump table for the options with a short description can be found at |Q_op|.
99269937
A list of words that change how |cmdline-completion| is done.
99279938

99289939
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.
99299954
fuzzy Use |fuzzy-matching| to find completion matches. When
99309955
this value is specified, wildcard expansion will not
99319956
be used for completion. The matches will be sorted by

0 commit comments

Comments
 (0)