diff --git a/doc/cmdline.jax b/doc/cmdline.jax index 5af1d15db..9b95cfe79 100644 --- a/doc/cmdline.jax +++ b/doc/cmdline.jax @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Mar 08 +*cmdline.txt* For Vim バージョン 9.1. Last change: 2025 Jun 28 VIMリファレンスマニュアル by Bram Moolenaar @@ -394,7 +394,7 @@ CTRL-D カーソルより前のパターンに一致する名前を一覧表示 名前は、末尾の方に移動される。 'wildoptions' を "tagfile" にセットすると、マッチするタグを含 むファイル名をリストすることができる。 - *c_CTRL-I* *c_wildchar* *c_* + *c_CTRL-I* *c_wildchar* *c_* */_* オプション 'wildchar' で指定したキー カーソルより前のパターンに対してマッチの検索が行われる。マッチ (いくつかあるなら、最初のもの) が、そのパターンの位置に挿入さ @@ -403,6 +403,10 @@ CTRL-D カーソルより前のパターンに一致する名前を一覧表示 の中ではこれらが特別な意味を持つからである) このキーを再び入力 すると、複数のマッチがあるときは、次のマッチが挿入される。最後 のマッチの後には、最初のマッチが再び使われる (繰り返し)。 + + 検索コンテキストでは、補完をトリガーする代わりに、 + または "\t" を使用してリテラル を検索する。 + この動作は、オプション 'wildmode' で変更できる。 *c_* 'wildchar' または のようだが最後のマッチから始まり前の @@ -433,7 +437,7 @@ CTRL-L カーソルより前のパターンに対してマッチの検索が行 CTRL-G 'incsearch' が設定され "/" や "?" にパターンを入力して現在のマ ッチが表示されている時に、CTRL-G を押すと次のマッチに移動する( |search-offset| は考慮しない)。CTRL-T を押すと前のマッチに移動 - する。ヒント: 通常のキーボードでは、T は G より上にある。 + する。ヒント: 通常のキーボードでは、G は T より下にある。 *c_CTRL-T* */_CTRL-T* CTRL-T 'incsearch' が設定され "/" や "?" にパターンを入力して現在のマ ッチが表示されている時に、CTRL-T は前のマッチに移動する( diff --git a/en/cmdline.txt b/en/cmdline.txt index 93431f8fc..a15debe5e 100644 --- a/en/cmdline.txt +++ b/en/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 9.1. Last change: 2025 Mar 08 +*cmdline.txt* For Vim version 9.1. Last change: 2025 Jun 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -415,7 +415,7 @@ CTRL-D List names that match the pattern in front of the cursor. to the end. The 'wildoptions' option can be set to "tagfile" to list the file of matching tags. - *c_CTRL-I* *c_wildchar* *c_* + *c_CTRL-I* *c_wildchar* *c_* */_* 'wildchar' option A match is done on the pattern in front of the cursor. The match (if there are several, the first match) is inserted @@ -425,6 +425,10 @@ CTRL-D List names that match the pattern in front of the cursor. again and there were multiple matches, the next match is inserted. After the last match, the first is used again (wrap around). + + In search context use or "\t" to search for a + literal instead of triggering completion. + The behavior can be changed with the 'wildmode' option. *c_* Like 'wildchar' or , but begin with the last match and @@ -458,7 +462,7 @@ CTRL-G When 'incsearch' is set, entering a search pattern for "/" or "?" and the current match is displayed then CTRL-G will move to the next match (does not take |search-offset| into account) Use CTRL-T to move to the previous match. Hint: on a regular - keyboard T is above G. + keyboard G is below T. *c_CTRL-T* */_CTRL-T* CTRL-T When 'incsearch' is set, entering a search pattern for "/" or "?" and the current match is displayed then CTRL-T will move