Edit multiple files with Vim
Very useful feature, e.g. for refactoring
:args ./**/*.rb
:argdo :%s/_params/params/ge | update
This simple example shows how to replace some text in all ruby sources under current directory
Written by AlexDenisov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#