3 ms·
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.
by tomsthumb 13y 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.
- mrgoldenbrown 13y agoI 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.
- lsiebert 13y agoIf 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.