Skip to content

Instantly share code, notes, and snippets.

@roberto
Created December 9, 2012 01:44
Show Gist options
  • Save roberto/4242921 to your computer and use it in GitHub Desktop.
Save roberto/4242921 to your computer and use it in GitHub Desktop.
passing changed files as arguments to your default editor
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