Created
February 3, 2014 23:20
-
-
Save jah2488/8794452 to your computer and use it in GitHub Desktop.
Find and Open in Vim Splits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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