Skip to content

Instantly share code, notes, and snippets.

@jwo
Created July 6, 2011 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwo/1067444 to your computer and use it in GitHub Desktop.
Save jwo/1067444 to your computer and use it in GitHub Desktop.
MacVim - Find in files
:vimgrep regex path
#example to find all ruby files using "belongs"to
:vimgrep /belongs_to/ **/*.rb
:cnext
:cprevious
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment