File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 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 種類あ
Original file line number Diff line number Diff line change 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`.
183183For 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}*
187197These commands search for the specified pattern. With "/" and "?" an
188198additional offset may be given. There are two types of offsets: line offsets
You can’t perform that action at this time.
0 commit comments