From the Desk of Josh Beckman (www.joshbeckman.org) home / notes / 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: Josh Beckman Reference vim Search and Replace in Multiple Buffers Vim Tips Wiki 2024, January 19 Edit Comment/Reply via email Widgets Network Graph Legend Insight This widget generates “insights” about a post - you can read about how it works. Generating Keyboard Shortcuts Key Action o Source e Edit i Insight r Random h Home s or / Search Close www.joshbeckman.org/notes/662983115