Skip to content

Instantly share code, notes, and snippets.

@ChrisBuchholz
Created July 21, 2015 20:58
Show Gist options
  • Save ChrisBuchholz/5d0b6b263dc26685e63b to your computer and use it in GitHub Desktop.
Save ChrisBuchholz/5d0b6b263dc26685e63b to your computer and use it in GitHub Desktop.
function editgit() {
CMD='git ls-files -m'
if eval $CMD; then
vim `eval $CMD` -O
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment