Created
January 24, 2012 01:18
-
-
Save mattsacks/1667140 to your computer and use it in GitHub Desktop.
Wipe existing fugitive buffers if you've arrived to diff hell.
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
" Fugitive | |
command! -nargs=0 Gwipe bufdo if expand("%") =~ '^fugitive' | |
\| execute 'bw' | |
\| endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment