Skip to content

Commit

Permalink
Merge pull request #1593 from vim-jp/hh-update-pattern
Browse files Browse the repository at this point in the history
Update pattern.{txt,jax}
  • Loading branch information
h-east committed Jun 27, 2024
2 parents ef0e85c + 99f7c07 commit 9278582
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions doc/pattern.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Jun 03
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Jun 18


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


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

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


'shortmess' が "S" フラグを含まない場合、Vim はカーソルが位置するインデックス
を自動的に表示します。これはこのように見えます: >
Expand Down
8 changes: 6 additions & 2 deletions en/pattern.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim version 9.1. Last change: 2024 Jun 03
*pattern.txt* For Vim version 9.1. Last change: 2024 Jun 18


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


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

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


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

0 comments on commit 9278582

Please sign in to comment.