Last Updated: February 25, 2016
·
530
· alexdenisov

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