File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
- *pattern.txt* For Vim バージョン 9.0. Last change: 2022 Mar 04
1
+ *pattern.txt* For Vim バージョン 9.0. Last change: 2022 Sep 24
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -132,6 +132,11 @@ CTRL-C 現在の(検索)コマンドを中止します。MS-Windowsでは
132
132
CTRL-B reakを使ってください | dos-CTRL-Break | 。
133
133
ノーマルモードでは、入力済みの、まだ実行されていないコ
134
134
マンドをすべて中止します。
135
+ 出力をリダイレクトして Vim を起動し、変更されたバッファ
136
+ がない場合、CTRL-C で Vim を終了します。これは、"vim
137
+ file | grep word" を使用していて、抜け出す方法がわから
138
+ ないユーザーを支援するためです(盲目的に :qa<CR> と入力
139
+ してもうまくいきます)。
135
140
136
141
*:noh* *:nohlsearch*
137
142
:noh[lsearch] 'hlsearch' オプションによる強調表示をやめます。検索コ
Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -134,6 +134,11 @@ gD Goto global Declaration. When the cursor is on a
134
134
CTRL-C Interrupt current (search) command. Use CTRL-B reak on
135
135
MS-Windows | dos-CTRL-Break | .
136
136
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).
137
142
138
143
*:noh* *:nohlsearch*
139
144
:noh[lsearch] Stop the highlighting for the 'hlsearch' option. It
You can’t perform that action at this time.
0 commit comments