Note on Search and Replace in Multiple Buffers via Vim Tips Wiki
perform the same operation on all wanted files in the current directory, and in all subdirectories (or in any specified tree of directories)
Find and replace things in vim:
:args spec/javascripts/**/*.*
:argdo %s/foo/bar/g
:chefs-kiss:
Reference
- Notes
- vim
- Search and Replace in Multiple Buffers
-
Permalink to
2024.NTE.023
- Edit
← Previous | Next → |
Note on Praise for Land Is a Big Deal by Lars A. Doucet via landisabigdeal.com | Note on Exhalation via Ted Chiang |