Being able to apply a change on multiple files at once. In the middle of a project I decided to move a module to another namespace. So it went:
$ gvim $(find . -type f | grep -v \.svn | xargs grep -l 'MyModule') Then in vim: :bufdo %s/MyModule/My::Module/gc
and hey presto.
--
Lyon
In reply to Re: Vim and You
by redlemon
in thread Vim and You
by nefigah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |