diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-01 21:56:25 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-01 21:56:25 +0000 |
commit | 1ef15e30a0479b4c4f7da7142b6f6a441e295f1e (patch) | |
tree | 12b2dac135759a6a69706acef869b9db6a390c5e /runtime/doc/quickfix.txt | |
parent | afeb4fa8a7ffc357cea70668b9ad3c66edfc8ce0 (diff) | |
download | vim-git-1ef15e30a0479b4c4f7da7142b6f6a441e295f1e.tar.gz |
updated for version 7.0191v7.0191
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r-- | runtime/doc/quickfix.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index bdda74fc6..5430be076 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Jan 29 +*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Jan 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -311,14 +311,17 @@ 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. This can be used to -perform some action on the listed errors. Example: > +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: > au BufReadPost quickfix setlocal modifiable \ | silent exe 'g/^/s//\=line(".")." "/' \ | setlocal nomodifiable This prepends the line number to each line. Note the use of "\=" in the substitute string of the ":s" command, which is used to evaluate an expression. +The BufWinEnter event is also triggered, again using "quickfix" for the buffer +name. Note: Making changes in the quickfix window has no effect on the list of errors. 'modifiable' is off to avoid making changes. If you delete or insert @@ -332,7 +335,8 @@ The location list window displays the entries in a location list. When you open a location list window, it is created below the current window and displays the location list for the current window. The location list window is similar to the quickfix window, except that you can have more than one -location list window open at a time. +location list window open at a time. When you use a location list command in +this window, the displayed location list is used. When you select a file from the location list window, the following steps are used to find a window to edit the file: |