Wikia

Vim Tips Wiki

Script:2545

Talk0
1,613pages on
this wiki
Revision as of 07:36, September 30, 2011 by JohnBeckett (Talk | contribs)

Use this page to discuss script 2545 2545

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

Not a bad little script, but you can do the same thing with:

:silent bufdo vimgrepadd /<REGEX>/ %

of course the "silent" is optional:

:bufdo vimgrepadd /<REGEX>/ %

This command loops through all of the buffers and greps the current buffer for the regex and appends the results to the quickfix list. You can't use vimgrep instead of vimgrepadd because each buffer will overwrite the quickfix from the previous buffer. --jearsh

Around Wikia's network

Random Wiki