err... you might need to escape the | in that, vim has its own uses for it (I can't remember if after :! it's *not* treated specially). It's probably easier to just open a terminal and do it there.
On Wed, Aug 31, 2011 at 11:26 AM, Kyle Lippincott <spect...@pewpew.net>wrote: > Keep in mind also that Mac OS X is UNIX, and you can use :! in vim to shell > out, so something like: > :!find project/directory -name '*.cc' | xargs sed -i > 's/original/replacement/' > > Depending on how many files there are, this may be much faster than > args/argdo. > > > On Wed, Aug 31, 2011 at 8:06 AM, David Patrick Henderson < > dp.chaoswe...@gmail.com> wrote: > >> >> On 31 Aug 2011, at 07:04, Cliff Oliveira wrote: >> >> I would like to find and replace at once a word within multiple >> directories from a project, MacVim offers this possibility? >> >> See help for vimgrep, args, and argsdo >> >> >> David P Henderson >> -- >> "Beautiful bodies and beautiful personalities rarely go together." >> -- Carl Jung >> >> -- >> You received this message from the "vim_mac" 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 >> > > -- You received this message from the "vim_mac" 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