Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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


Comment on Re: Vim and You
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675807]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-21 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls