File tree Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 1- *insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 21
1+ *insert.txt* For Vim バージョン 9.1. Last change: 2025 Jul 25
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -1074,6 +1074,23 @@ CTRL-P CTRL-N と同じだが、前のマッチを検索する。
10741074CTRL-X CTRL-Z テキストを変更せずに補完を停止する。
10751075
10761076
1077+ ☆自動補完 *ins-autocompletion*
1078+
1079+ Vim は、| i_CTRL-N | を使うのと同様に、入力中に自動的に補完メニューを表示できる。
1080+ | 'autocomplete' | を参照。メニュー項目は、| 'complete' | オプションに指定された
1081+ ソースから収集される。
1082+
1083+ 手動の | i_CTRL-N | 補完とは異なり、このモードでは Vim の応答性を維持するために
1084+ 徐々に減少するタイムアウトを使用する。| 'complete' | リストの上位にあるソースに
1085+ は、より多くの時間 (より高い優先度) が与えられるが、すべてのソースには、どんな
1086+ に短い時間であっても、一定のタイムスライスが保証される。
1087+
1088+ このモードは他の補完モードと完全に互換性がある。| CTRL-X | を入力することで、い
1089+ つでも他の補完モードを呼び出すことができる。これにより、自動補完が一時的に停止
1090+ される。| i_CTRL-N | を使用するには、まず | CTRL-E | を押してポップアップメニュー
1091+ を閉じること (| complete_CTRL-E | を参照)。
1092+
1093+
10771094☆補完候補を検索する関数 *complete-functions*
10781095
10791096ここでは 'completefunc' , 'thesaurusfunc' , 'omnifunc' について説明する。
Original file line number Diff line number Diff line change 1- *insert.txt* For Vim version 9.1. Last change: 2025 Jul 21
1+ *insert.txt* For Vim version 9.1. Last change: 2025 Jul 25
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1133,6 +1133,22 @@ Stop completion *compl-stop*
11331133CTRL-X CTRL-Z Stop completion without changing the text.
11341134
11351135
1136+ AUTOCOMPLETION *ins-autocompletion*
1137+
1138+ Vim can display a completion menu as you type, similar to using | i_CTRL-N | ,
1139+ but triggered automatically. See | 'autocomplete' | . The menu items are
1140+ collected from the sources listed in the | 'complete' | option.
1141+
1142+ Unlike manual | i_CTRL-N | completion, this mode uses a decaying timeout to keep
1143+ Vim responsive. Sources earlier in the | 'complete' | list are given more time
1144+ (higher priority), but every source is guaranteed a time slice, however small.
1145+
1146+ This mode is fully compatible with other completion modes. You can invoke
1147+ any of them at any time by typing | CTRL-X | , which temporarily suspends
1148+ autocompletion. To use | i_CTRL-N | specifically, press | CTRL-E | first to
1149+ dismiss the popup menu (see | complete_CTRL-E | ).
1150+
1151+
11361152FUNCTIONS FOR FINDING COMPLETIONS *complete-functions*
11371153
11381154This applies to 'completefunc' , 'thesaurusfunc' and 'omnifunc' .
You can’t perform that action at this time.
0 commit comments