Search and Replace in multiple files with Vim

1 · Ariejan de Vroom · June 18, 2012, midnight
I recently learned a nice VimTrick™ when pairing with Arjan. We upgrade an app to Rails 3.2.6 and got the following deprecation message: DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. Well, nothing difficult about that, but we have quite a few :confirm in this app. Firstly we checked where we used them (note we use ruby 1....