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
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -132,6 +132,11 @@ CTRL-C 現在の(検索)コマンドを中止します。MS-Windowsでは
132132 CTRL-B reakを使ってください | 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' オプションによる強調表示をやめます。検索コ
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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -134,6 +134,11 @@ gD Goto global Declaration. When the cursor is on a
134134CTRL-C Interrupt current (search) command. Use CTRL-B reak 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
You can’t perform that action at this time.
0 commit comments