On 28/10/08 02:30, Peng Yu wrote:
>> I recommend using vimgrep, which uses Vim regular expressions:
>>
>> :vimgrep /some string with spaces in it/g *.tex
>
> Is there a vim command to replace strings for multiple files?
>
> Thanks,
> Peng
:args *.tex
:argdo s/\<this\>/that/ge
See
:help :args
:help :argdo
Best regards,
Tony.
--
Shaw's Principle:
Build a system that even a fool can use, and only a fool will
want to use it.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---