Mercurial > vim
diff runtime/doc/quickfix.txt @ 446:7472c565592a v7.0117
updated for version 7.0117
author | vimboss |
---|---|
date | Wed, 27 Jul 2005 21:13:01 +0000 |
parents | c773cb978acf |
children | 52e76e2b5b65 |
line wrap: on
line diff
--- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 25 +*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -110,6 +110,11 @@ The following quickfix commands can be u Read the error file. Just like ":cfile" but don't jump to the first error. + *:cad* *:caddfile* +:cad[dfile] [errorfile] Read the error file and add the errors from the + errorfile to the current quickfix list. If a quickfix + list is not present, then a new list is created. + *:cb* *:cbuffer* *E681* :cb[uffer] [bufnr] Read the error list from the current buffer. When [bufnr] is given it must be the number of a @@ -118,6 +123,19 @@ The following quickfix commands can be u A range can be specified for the lines to be used. Otherwise all lines in the buffer are used. + *:cex* *:cexpr* +:cex[pr][!] {expr} Create a quickfix list using the result of {expr}. + If {expr} is a String, then each new-line terminated + line in the String is processed using 'errorformat' + and the result is added to the quickfix list. + If {expr} is a List, then each String item in the list + is processed and added to the quickfix list. + Non String items in the List are ignored. See |:cc| + for [!]. + Examples: > + :cexpr system('grep -n xyz *') + :cexpr getline(1, '$') +< *:cl* *:clist* :cl[ist] [from] [, [to]] List all errors that are valid |quickfix-valid|.