Skip to content

Instantly share code, notes, and snippets.

@code-later
Created May 24, 2012 11:23
Show Gist options
  • Save code-later/2780882 to your computer and use it in GitHub Desktop.
Save code-later/2780882 to your computer and use it in GitHub Desktop.
Search & Replace across files in Vim
" Select files to work on with :args
:args app/views/*/*
" Perform any action on the previous selected files
:argdo %s/search/replace/gec | update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment