Skip to content

Commit 99f7c07

Browse files
committed
Update pattern.{txt,jax}
1 parent 28e1ff0 commit 99f7c07

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

doc/pattern.jax

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Jun 03
1+
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Jun 18
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -148,13 +148,17 @@ CTRL-C 現在の(検索)コマンドを中止します。MS-Windowsでは
148148
し、実行後に元に戻すからです。|autocmd-searchpat|ユー
149149
ザー関数を呼び出したときも同様。
150150

151+
151152
'incsearch' オプションがオンの場合、検索パターンを入力している途中に、その時点
152153
でマッチしているものが強調表示されます。実際に、その場所にカーソルを移動させる
153154
には <CR> を打って検索を終了する必要があります。検索を中止するには <Esc> キー
154155
を使ってください。
155156

157+
*nohlsearch-auto*
156158
'hlsearch' オプションがオンの場合、最後に使った検索パターンは強調表示されます。
157-
|:nohlsearch| コマンドを使うと、一時的に強調表示をやめさせることができます。
159+
これは |:nohlsearch| コマンドで一時停止することも、nohlsearch プラグインで自動
160+
的に一時停止することもできます。|nohlsearch-install| を参照。
161+
158162

159163
'shortmess' が "S" フラグを含まない場合、Vim はカーソルが位置するインデックス
160164
を自動的に表示します。これはこのように見えます: >

en/pattern.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.1. Last change: 2024 Jun 03
1+
*pattern.txt* For Vim version 9.1. Last change: 2024 Jun 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -151,13 +151,17 @@ CTRL-C Interrupt current (search) command. Use CTRL-Break on
151151
executing autocommands |autocmd-searchpat|.
152152
Same thing for when invoking a user function.
153153

154+
154155
While typing the search pattern the current match will be shown if the
155156
'incsearch' option is on. Remember that you still have to finish the search
156157
command with <CR> to actually position the cursor at the displayed match. Or
157158
use <Esc> to abandon the search.
158159

160+
*nohlsearch-auto*
159161
All matches for the last used search pattern will be highlighted if you set
160-
the 'hlsearch' option. This can be suspended with the |:nohlsearch| command.
162+
the 'hlsearch' option. This can be suspended with the |:nohlsearch| command
163+
or auto suspended with nohlsearch plugin. See |nohlsearch-install|.
164+
161165

162166
When 'shortmess' does not include the "S" flag, Vim will automatically show an
163167
index, on which the cursor is. This can look like this: >

0 commit comments

Comments
 (0)