Tuesday, October 26, 2010

execute command in [vim]grep-results ?

Dear Vimers,

I recently discovered and used vim's
args and argdo commands.

Now I wonder if there's a way to execute a command over all search-results in the quickfix or location-list?
E.g.
vimgrep 'define' **/*.rb
and then on all files in the quickfix, or location list
quickfix_do %s/define/def/g

Your help is very much appreciated.

Cheers!
Asis

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment