Skip to content

Instantly share code, notes, and snippets.

@jah2488
Created February 3, 2014 23:20
Show Gist options
  • Save jah2488/8794452 to your computer and use it in GitHub Desktop.
Save jah2488/8794452 to your computer and use it in GitHub Desktop.
Find and Open in Vim Splits
vim -o `git status --porcelain | awk '{print $2}'` # Open all modified files from git in a different vim split
vim -o `ack -l $SEARCHTERM` # Search for all files that contain a given pattern and open them in vim splits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment