Hacker News new | ask | show | jobs
Replace in Multiple Files - the Vim Way (vimninjas.com)
5 points by CeRRuTiTo 5015 days ago
1 comments

> The limitation of argdo is that it won’t search the supplied directory recursively

    **
works more or less like * but for directories:

    :args **/*.rb
    :argdo %s/_params/params/gc
will ask for confirmation before doing the substitution on every *.rb file contained in the current directory and its children.