Mercurial > vim
comparison runtime/doc/quickfix.txt @ 7100:f717d96a39b3
commit https://github.com/vim/vim/commit/12969c04fe7bd27dc0cbf37709eb40a86d4a27f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 8 23:36:10 2015 +0200
Update documentation and syntax files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 Sep 2015 23:45:05 +0200 |
parents | c52a655d927d |
children | e7874551bb34 |
comparison
equal
deleted
inserted
replaced
7099:26abcfa377d0 | 7100:f717d96a39b3 |
---|---|
1 *quickfix.txt* For Vim version 7.4. Last change: 2014 Mar 27 | 1 *quickfix.txt* For Vim version 7.4. Last change: 2015 Sep 08 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
296 call setqflist(qflist) | 296 call setqflist(qflist) |
297 endfunction | 297 endfunction |
298 | 298 |
299 au QuickfixCmdPost make call QfMakeConv() | 299 au QuickfixCmdPost make call QfMakeConv() |
300 | 300 |
301 | |
302 EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST: | |
303 *:cdo* | |
304 :cdo[!] {cmd} Execute {cmd} in each valid entry in the quickfix list. | |
305 It works like doing this: > | |
306 :cfirst | |
307 :{cmd} | |
308 :cnext | |
309 :{cmd} | |
310 etc. | |
311 < When the current file can't be |abandon|ed and the [!] | |
312 is not present, the command fails. | |
313 When an error is detected excecution stops. | |
314 The last buffer (or where an error occurred) becomes | |
315 the current buffer. | |
316 {cmd} can contain '|' to concatenate several commands. | |
317 | |
318 Only valid entries in the quickfix list are used. | |
319 A range can be used to select entries, e.g.: > | |
320 :10,$cdo cmd | |
321 < To skip entries 1 to 9. | |
322 | |
323 Note: While this command is executing, the Syntax | |
324 autocommand event is disabled by adding it to | |
325 'eventignore'. This considerably speeds up editing | |
326 each buffer. | |
327 {not in Vi} {not available when compiled without the | |
328 |+listcmds| feature} | |
329 Also see |:bufdo|, |:tabdo|, |:argdo|, |:windo|, | |
330 |:ldo|, |:cfdo| and |:lfdo|. | |
331 | |
332 *:cfdo* | |
333 :cfdo[!] {cmd} Execute {cmd} in each file in the quickfix list. | |
334 It works like doing this: > | |
335 :cfirst | |
336 :{cmd} | |
337 :cnfile | |
338 :{cmd} | |
339 etc. | |
340 < Otherwise it works the same as `:cdo`. | |
341 {not in Vi} {not available when compiled without the | |
342 |+listcmds| feature} | |
343 | |
344 *:ldo* | |
345 :ld[o][!] {cmd} Execute {cmd} in each valid entry in the location list | |
346 for the current window. | |
347 It works like doing this: > | |
348 :lfirst | |
349 :{cmd} | |
350 :lnext | |
351 :{cmd} | |
352 etc. | |
353 < Only valid entries in the location list are used. | |
354 Otherwise it works the same as `:cdo`. | |
355 {not in Vi} {not available when compiled without the | |
356 |+listcmds| feature} | |
357 | |
358 *:lfdo* | |
359 :lfdo[!] {cmd} Execute {cmd} in each file in the location list for | |
360 the current window. | |
361 It works like doing this: > | |
362 :lfirst | |
363 :{cmd} | |
364 :lnfile | |
365 :{cmd} | |
366 etc. | |
367 < Otherwise it works the same as `:ldo`. | |
368 {not in Vi} {not available when compiled without the | |
369 |+listcmds| feature} | |
301 | 370 |
302 ============================================================================= | 371 ============================================================================= |
303 2. The error window *quickfix-window* | 372 2. The error window *quickfix-window* |
304 | 373 |
305 *:cope* *:copen* *w:quickfix_title* | 374 *:cope* *:copen* *w:quickfix_title* |