From 801c0a47a1f31f0941a7cf892bbc8c80117c1aaf Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 21 Apr 2026 21:48:10 +0900 Subject: [PATCH] Update cmdline.{txt,jax} --- doc/cmdline.jax | 18 +++++++++++------- en/cmdline.txt | 9 +++++---- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/doc/cmdline.jax b/doc/cmdline.jax index 1dfa90313..da10927c3 100644 --- a/doc/cmdline.jax +++ b/doc/cmdline.jax @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim バージョン 9.2. Last change: 2026 Mar 17 +*cmdline.txt* For Vim バージョン 9.2. Last change: 2026 Apr 20 VIM リファレンスマニュアル by Bram Moolenaar @@ -439,14 +439,18 @@ CTRL-L カーソルより前のパターンに対してマッチの検索が行 れた文字は小文字に変換される。 *c_CTRL-G* */_CTRL-G* CTRL-G 'incsearch' が設定され "/" や "?" にパターンを入力して現在のマ - ッチが表示されている時に、CTRL-G を押すと次のマッチに移動する( - |search-offset| は考慮しない)。CTRL-T を押すと前のマッチに移動 - する。ヒント: 通常のキーボードでは、G は T より下にある。 + ッチが表示されている時に、CTRL-G を押すと次のマッチに移動する。 + |search-offset| は キーが押されたときに適用されるが、マッ + チ箇所のハイライト表示には影響しない。 + CTRL-T を押すと前のマッチに移動する。ヒント: 通常のキーボード + では、G は T より下にある。 *c_CTRL-T* */_CTRL-T* CTRL-T 'incsearch' が設定され "/" や "?" にパターンを入力して現在のマ - ッチが表示されている時に、CTRL-T は前のマッチに移動する( - |search-offset| は考慮しない)。CTRL-G を使うと次のマッチに移動 - する。ヒント: 通常のキーボードは、T は G より上にある。 + ッチが表示されている時に、CTRL-T は前のマッチに移動する。 + |search-offset| は キーが押されたときに適用されるが、マッ + チ箇所のハイライト表示には影響しない。 + CTRL-G を使うと次のマッチに移動する。ヒント: 通常のキーボード + は、T は G より上にある。 オプション 'wildchar' の既定値は である (Vi互換モードの場合は CTRL-E で ある。以前のバージョンでは が使われていた)。パターンがファイル名に対して diff --git a/en/cmdline.txt b/en/cmdline.txt index 4a0729d0e..bf47c5199 100644 --- a/en/cmdline.txt +++ b/en/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 9.2. Last change: 2026 Mar 17 +*cmdline.txt* For Vim version 9.2. Last change: 2026 Apr 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -466,14 +466,15 @@ CTRL-L A match is done on the pattern in front of the cursor. If *c_CTRL-G* */_CTRL-G* 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) + to the next match. The |search-offset| is applied when + is pressed, but does not affect the match highlighting. Use CTRL-T to move to the previous match. Hint: on a regular 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 - to the previous match (does not take |search-offset| into - account). + to the previous match. The |search-offset| is applied when + is pressed, but does not affect the match highlighting. Use CTRL-G to move to the next match. Hint: on a regular keyboard T is above G.