Skip to content

Commit 802448a

Browse files
authored
Merge pull request #1164 from tsuyoshicho/update/20221015/pattern
Update pattern.{txt,jax}
2 parents 3e30e93 + a7841b7 commit 802448a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

doc/pattern.jax

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim バージョン 9.0. Last change: 2022 Mar 04
1+
*pattern.txt* For Vim バージョン 9.0. Last change: 2022 Sep 24
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -132,6 +132,11 @@ CTRL-C 現在の(検索)コマンドを中止します。MS-Windowsでは
132132
CTRL-Breakを使ってください |dos-CTRL-Break|
133133
ノーマルモードでは、入力済みの、まだ実行されていないコ
134134
マンドをすべて中止します。
135+
出力をリダイレクトして Vim を起動し、変更されたバッファ
136+
がない場合、CTRL-C で Vim を終了します。これは、"vim
137+
file | grep word" を使用していて、抜け出す方法がわから
138+
ないユーザーを支援するためです(盲目的に :qa<CR> と入力
139+
してもうまくいきます)。
135140

136141
*:noh* *:nohlsearch*
137142
:noh[lsearch] 'hlsearch' オプションによる強調表示をやめます。検索コ

en/pattern.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.0. Last change: 2022 Mar 04
1+
*pattern.txt* For Vim version 9.0. Last change: 2022 Sep 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -134,6 +134,11 @@ gD Goto global Declaration. When the cursor is on a
134134
CTRL-C Interrupt current (search) command. Use CTRL-Break on
135135
MS-Windows |dos-CTRL-Break|.
136136
In Normal mode, any pending command is aborted.
137+
When Vim was started with output redirected and there
138+
are no changed buffers CTRL-C exits Vim. That is to
139+
help users who use "vim file | grep word" and don't
140+
know how to get out (blindly typing :qa<CR> would
141+
work).
137142

138143
*:noh* *:nohlsearch*
139144
:noh[lsearch] Stop the highlighting for the 'hlsearch' option. It

0 commit comments

Comments
 (0)