Hacker News new | ask | show | jobs
by tomsthumb 4802 days ago
sed can do in place recursive changes for search patterns. if you use vim search and replace across a file it's pretty much the same.
1 comments

I was thinking of something more context aware than a simple find/replace. If you're changing MyClass.getFoo() to MyClass.getBar(), you only want to do that on instances of MyClass.
If there is a plugin for intelligent refactoring in vim, I have yet to see it. You can use tabdo or buffdo for multiple files, but the class/object parsing isn't there.