Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Vim and You

by redlemon (Hermit)
on Mar 23, 2008 at 19:41 UTC ( #675807=note: print w/replies, xml ) Need Help??


in reply to Vim and You

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675807]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2016-12-09 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (151 votes). Check out past polls.