Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 surveying the Monastery: (17)
As of 2015-07-07 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls