Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions doc/quickfix.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*quickfix.txt* For Vim バージョン 8.1. Last change: 2019 Jun 02
*quickfix.txt* For Vim バージョン 8.1. Last change: 2019 Jul 15


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -603,9 +603,10 @@ quickfixウィンドウには各行に1個ずつエラーが表示される。
CTRL-W <Enter>を使うと、新しいウィンドウを開いてそこでエラーにジャンプできる。

quickfixウィンドウが一杯になったとき、2つの自動コマンドイベントが発生する。第
一は 'filetype' オプションが "qf" にセットされ、FileTypeイベントが発生する。そ
れからBufReadPostイベントが発生する。そのときのバッファ名は "quickfix" となる。
これを使ってエラーリストに対して操作を行うことができる。例: >
一は 'filetype' オプションが "qf" にセットされ、FileTypeイベントが発生する
(|qf.vim| も参照)。それからBufReadPostイベントが発生する。そのときのバッファ名
は "quickfix" となる。これを使ってエラーリストに対して操作を行うことができる。
例: >
au BufReadPost quickfix setlocal modifiable
\ | silent exe 'g/^/s//\=line(".")." "/'
\ | setlocal nomodifiable
Expand Down
8 changes: 4 additions & 4 deletions en/quickfix.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 8.1. Last change: 2019 Jun 02
*quickfix.txt* For Vim version 8.1. Last change: 2019 Jul 15


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -650,9 +650,9 @@ You can use CTRL-W <Enter> to open a new window and jump to the error there.

When the quickfix window has been filled, two autocommand events are
triggered. First the 'filetype' option is set to "qf", which triggers the
FileType event. Then the BufReadPost event is triggered, using "quickfix" for
the buffer name. This can be used to perform some action on the listed
errors. Example: >
FileType event (also see |qf.vim|). Then the BufReadPost event is triggered,
using "quickfix" for the buffer name. This can be used to perform some action
on the listed errors. Example: >
au BufReadPost quickfix setlocal modifiable
\ | silent exe 'g/^/s//\=line(".")." "/'
\ | setlocal nomodifiable
Expand Down