Mercurial > vim
comparison runtime/doc/quickfix.txt @ 800:d8f905020502 v7.0b
updated for version 7.0b
author | vimboss |
---|---|
date | Fri, 24 Mar 2006 22:46:53 +0000 |
parents | 95dac6af3b3a |
children | 9f345c48220b |
comparison
equal
deleted
inserted
replaced
799:6beb2c667935 | 800:d8f905020502 |
---|---|
1 *quickfix.txt* For Vim version 7.0aa. Last change: 2006 Mar 23 | 1 *quickfix.txt* For Vim version 7.0b. Last change: 2006 Mar 24 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
225 < | 225 < |
226 *:lex* *:lexpr* | 226 *:lex* *:lexpr* |
227 :lex[pr][!] {expr} Same as ":cexpr", except the location list for the | 227 :lex[pr][!] {expr} Same as ":cexpr", except the location list for the |
228 current window is used instead of the quickfix list. | 228 current window is used instead of the quickfix list. |
229 | 229 |
230 *:cgete* *:cgetexpr* | |
231 :cgete[xpr][!] {expr} Create a quickfix list using the result of {expr}. | |
232 Just like ":cexpr", but don't jump to the first error. | |
233 | |
234 *:lgete* *:lgetexpr* | |
235 :lgete[xpr][!] {expr} Same as ":cgetexpr", except the location list for the | |
236 current window is used instead of the quickfix list. | |
237 | |
230 *:cad* *:caddexpr* | 238 *:cad* *:caddexpr* |
231 :cad[dexpr][!] {expr} Evaluate {expr} and add the resulting lines to the | 239 :cad[dexpr][!] {expr} Evaluate {expr} and add the resulting lines to the |
232 current quickfix list. If a quickfix list is not | 240 current quickfix list. If a quickfix list is not |
233 present, then a new list is created. The current | 241 present, then a new list is created. The current |
234 cursor position will not be changed. See |:cexpr| for | 242 cursor position will not be changed. See |:cexpr| for |
236 Example: > | 244 Example: > |
237 :g/mypattern/caddexpr expand("%") . ":" . line(".") . ":" . getline(".") | 245 :g/mypattern/caddexpr expand("%") . ":" . line(".") . ":" . getline(".") |
238 < | 246 < |
239 *:lad* *:laddexpr* | 247 *:lad* *:laddexpr* |
240 :lad[dexpr][!] {expr} Same as ":caddexpr", except the location list for the | 248 :lad[dexpr][!] {expr} Same as ":caddexpr", except the location list for the |
241 current window is used instead of the quickfix list. | |
242 | |
243 *:cgete* *:cgetexpr* | |
244 :cgete[xpr][!] {expr} Create a quickfix list using the result of {expr}. | |
245 Just like ":cexpr", but don't jump to the first error. | |
246 | |
247 *:lgete* *:lgetexpr* | |
248 :lgete[xpr][!] {expr} Same as ":cgetexpr", except the location list for the | |
249 current window is used instead of the quickfix list. | 249 current window is used instead of the quickfix list. |
250 | 250 |
251 *:cl* *:clist* | 251 *:cl* *:clist* |
252 :cl[ist] [from] [, [to]] | 252 :cl[ist] [from] [, [to]] |
253 List all errors that are valid |quickfix-valid|. | 253 List all errors that are valid |quickfix-valid|. |