Skip to content

Commit 9d98b4c

Browse files
authored
Merge pull request #2140 from h-east/update-pattern
Update pattern.{txt,jax}
2 parents 08f5d8c + 339b177 commit 9d98b4c

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

doc/pattern.jax

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Mar 28
1+
*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Jul 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -181,6 +181,17 @@ Note: `:global` コマンドを旧来のスクリプトで使うと、Vi の互
181181
|:s| コマンドでは "e" フラグを指定することでエラーメッセージを抑制できます
182182
|:s_flags|
183183

184+
*search-options*
185+
以下のオプションは、Vim で検索を実行する方法に影響します:
186+
'hlsearch' マッチをハイライトする
187+
'ignorecase' 検索時に大文字と小文字を区別しない
188+
'imsearch' 検索パターンを入力するときに |IME| を使用する
189+
'incsearch' パターンを入力すると、マッチするものが段階的に表示される
190+
'shortmess' メッセージを抑制 |shm-s|。検索件数を表示 |shm-S|
191+
'smartcase' パターンに大文字が含まれている場合は 'ignorecase' を上
192+
書きする
193+
'wrapscan' ファイルの先頭から検索を続行する
194+
184195
*search-offset* *{offset}*
185196
上記の検索コマンドは指定されたパターンを検索します。"/" と "?" ではさらにオフ
186197
セットを指定できます。オフセットには、行オフセットと文字オフセットの 2 種類あ

en/pattern.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.1. Last change: 2025 Mar 28
1+
*pattern.txt* For Vim version 9.1. Last change: 2025 Jul 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -183,6 +183,16 @@ matches in every line with `:vglobal`.
183183
For the |:s| command the "e" flag can be used to avoid the error message
184184
|:s_flags|.
185185

186+
*search-options*
187+
The following options affect how a search is performed in Vim:
188+
'hlsearch' highlight matches
189+
'ignorecase' ignore case when searching
190+
'imsearch' use |IME| when entering the search pattern
191+
'incsearch' show matches incrementally as the pattern is typed
192+
'shortmess' suppress messages |shm-s|; show search count |shm-S|
193+
'smartcase' override 'ignorecase' if pattern contains uppercase
194+
'wrapscan' continue searching from the start of the file
195+
186196
*search-offset* *{offset}*
187197
These commands search for the specified pattern. With "/" and "?" an
188198
additional offset may be given. There are two types of offsets: line offsets

0 commit comments

Comments
 (0)