Created
January 2, 2014 17:53
-
-
Save tarmstrong/8223191 to your computer and use it in GitHub Desktop.
In a git repository, open all currently modified and unstaged changes in vim. Each file is opened in a separate tab.
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
#!/usr/bin/env bash | |
MODDED_FILES=$( git ls-files --modified ); | |
vim -p $MODDED_FILES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment