Skip to content

Commit 951e11a

Browse files
committed
Update insert.{txt,jax}
1 parent f78254e commit 951e11a

File tree

2 files changed

+24
-28
lines changed

2 files changed

+24
-28
lines changed

doc/insert.jax

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

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -623,7 +623,7 @@ Note: カーソルより後ろの文字が移動して見えることがある
623623
10. ユーザー定義補完 |i_CTRL-X_CTRL-U|
624624
11. オムニ補完 |i_CTRL-X_CTRL-O|
625625
12. スペリング補完 |i_CTRL-X_s|
626-
13. 'complete' のキーワード |i_CTRL-N| |i_CTRL-P|
626+
13. 'complete' からの補完 |i_CTRL-N| |i_CTRL-P|
627627
14. レジスタの内容 |i_CTRL-X_CTRL-R|
628628

629629
追加として、|i_CTRL-X_CTRL-Z| でテキストを変更せずに補完を停止する。
@@ -1046,23 +1046,21 @@ CTRL-X s カーソル前の単語を探し、その単語の正しい綴りの
10461046
CTRL-P 前の候補を選択する。これによって以前の候補は置換される。
10471047

10481048

1049-
キーワードを別のソースから補完する。 *compl-generic*
1049+
別のソースから補完する *compl-generic*
10501050

10511051
*i_CTRL-N*
1052-
CTRL-N カーソルの直前と同じキーワードで始まる単語を、
1053-
'complete' オプションで指定された場所から前方検索する。
1054-
マッチしたキーワードはカーソルの直前に挿入される。
1052+
CTRL-N 'complete' オプションで指定されたソースを用いて、カー
1053+
ソル位置で終わる単語の次のマッチを検索する。すべての
1054+
ソースはキーワードから補完されるが、関数はキーワード以
1055+
外の単語から補完されることがある。マッチしたテキストは
1056+
カーソルの前に挿入される。
10551057

10561058
*i_CTRL-P*
1057-
CTRL-P カーソルの直前と同じキーワードで始まる単語を、
1058-
'complete' オプションで指定された場所から後方検索する。
1059-
マッチしたキーワードはカーソルの直前に挿入される。
1059+
CTRL-P CTRL-N と同じだが、前のマッチを検索する。
10601060

1061-
CTRL-N 次にマッチするキーワードを前方検索する。直前にマッチし
1062-
たキーワードは新しいもので置き換えられる。
1061+
CTRL-N マッチするものを前方検索し、次の候補を挿入する。
10631062

1064-
CTRL-P 次にマッチするキーワードを後方検索する。直前にマッチし
1065-
たキーワードは新しいもので置き換えられる。
1063+
CTRL-P マッチするものを後方検索し、前の候補を挿入する。
10661064

10671065
CTRL-X CTRL-N or
10681066
CTRL-X CTRL-P 直前の補完の文脈で続けて CTRL-X CTRL-N もしくは CTRL-X

en/insert.txt

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 9.1. Last change: 2025 Jun 11
1+
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -648,7 +648,7 @@ Completion can be done for:
648648
10. User defined completion |i_CTRL-X_CTRL-U|
649649
11. omni completion |i_CTRL-X_CTRL-O|
650650
12. Spelling suggestions |i_CTRL-X_s|
651-
13. keywords in 'complete' |i_CTRL-N| |i_CTRL-P|
651+
13. completions from 'complete' |i_CTRL-N| |i_CTRL-P|
652652
14. contents from registers |i_CTRL-X_CTRL-R|
653653

654654
Additionally, |i_CTRL-X_CTRL-Z| stops completion without changing the text.
@@ -1103,25 +1103,23 @@ CTRL-X s Locate the word in front of the cursor and find the
11031103
previous one.
11041104

11051105

1106-
Completing keywords from different sources *compl-generic*
1106+
Completing from different sources *compl-generic*
11071107

11081108
*i_CTRL-N*
1109-
CTRL-N Find next match for words that start with the
1110-
keyword in front of the cursor, looking in places
1111-
specified with the 'complete' option. The found
1112-
keyword is inserted in front of the cursor.
1109+
CTRL-N Find the next match for a word ending at the cursor,
1110+
using the sources specified in the 'complete' option.
1111+
All sources complete from keywords, except functions,
1112+
which may complete from non-keyword. The matched
1113+
text is inserted before the cursor.
11131114

11141115
*i_CTRL-P*
1115-
CTRL-P Find previous match for words that start with the
1116-
keyword in front of the cursor, looking in places
1117-
specified with the 'complete' option. The found
1118-
keyword is inserted in front of the cursor.
1116+
CTRL-P Same as CTRL-N, but find the previous match.
11191117

1120-
CTRL-N Search forward for next matching keyword. This
1121-
keyword replaces the previous matching keyword.
1118+
CTRL-N Search forward through the matches and insert the
1119+
next one.
11221120

1123-
CTRL-P Search backwards for next matching keyword. This
1124-
keyword replaces the previous matching keyword.
1121+
CTRL-P Search backward through the matches and insert the
1122+
previous one.
11251123

11261124
CTRL-X CTRL-N or
11271125
CTRL-X CTRL-P Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will

0 commit comments

Comments
 (0)