Skip to content

Instantly share code, notes, and snippets.

@categulario
Created June 2, 2017 18:38
Show Gist options
  • Select an option

  • Save categulario/d785e964581a7df6262ab8f0bac979d2 to your computer and use it in GitHub Desktop.

Select an option

Save categulario/d785e964581a7df6262ab8f0bac979d2 to your computer and use it in GitHub Desktop.
Open all unstaged (edited) files of repository as vim tabs
vimunstaged() {
vim -p $(git status -s | grep -E '^.(A|M)' | sed -E 's/^.{3}//')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment