Find and replace across all buffers in VimEdit
Find and replace across all open buffers:
:bufdo %s/pattern/substituion/gce | update
The same, but across all *.rb
files in the current directory hierarchy:
:args **/*.rb
:argdo %s/pattern/substitution/gce | update
Alternatively, use a plug-in like Ferret.
See also
- "Search and replace in all buffers": http://vim.wikia.com/wiki/VimTip1512
- Search and replace in multiple files with a Perl one-liner