File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1- *quickfix.txt* For Vim バージョン 8.1. Last change: 2019 Jun 02
1+ *quickfix.txt* For Vim バージョン 8.1. Last change: 2019 Jul 15
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -603,9 +603,10 @@ quickfixウィンドウには各行に1個ずつエラーが表示される。
603603CTRL-W <Enter> を使うと、新しいウィンドウを開いてそこでエラーにジャンプできる。
604604
605605quickfixウィンドウが一杯になったとき、2つの自動コマンドイベントが発生する。第
606- 一は 'filetype' オプションが "qf" にセットされ、FileTypeイベントが発生する。そ
607- れからBufReadPostイベントが発生する。そのときのバッファ名は "quickfix" となる。
608- これを使ってエラーリストに対して操作を行うことができる。例: >
606+ 一は 'filetype' オプションが "qf" にセットされ、FileTypeイベントが発生する
607+ (| qf.vim | も参照)。それからBufReadPostイベントが発生する。そのときのバッファ名
608+ は "quickfix" となる。これを使ってエラーリストに対して操作を行うことができる。
609+ 例: >
609610 au BufReadPost quickfix setlocal modifiable
610611 \ | silent exe 'g/^/s//\=line(".")." "/'
611612 \ | setlocal nomodifiable
Original file line number Diff line number Diff line change 1- *quickfix.txt* For Vim version 8.1. Last change: 2019 Jun 02
1+ *quickfix.txt* For Vim version 8.1. Last change: 2019 Jul 15
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -650,9 +650,9 @@ You can use CTRL-W <Enter> to open a new window and jump to the error there.
650650
651651When the quickfix window has been filled, two autocommand events are
652652triggered. First the 'filetype' option is set to "qf", which triggers the
653- FileType event. Then the BufReadPost event is triggered, using "quickfix" for
654- the buffer name. This can be used to perform some action on the listed
655- errors. Example: >
653+ FileType event (also see | qf.vim | ). Then the BufReadPost event is triggered,
654+ using "quickfix" for the buffer name. This can be used to perform some action
655+ on the listed errors. Example: >
656656 au BufReadPost quickfix setlocal modifiable
657657 \ | silent exe 'g/^/s//\=line(".")." "/'
658658 \ | setlocal nomodifiable
You can’t perform that action at this time.
0 commit comments