Settings

Theme

Replace in Multiple Files - the Vim Way

vimninjas.com

5 points by CeRRuTiTo 14 years ago · 1 comment

Reader

johncoltrane 14 years ago

> 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection