Created
December 9, 2012 01:44
-
-
Save roberto/4242921 to your computer and use it in GitHub Desktop.
passing changed files as arguments to your default editor
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
export EDITOR='mvim -p' | |
function keepcoding { | |
git status --porcelain --ignore-submodules | awk '$1 != "D" { print $2}' | xargs $EDITOR | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment