Created
February 27, 2013 13:59
-
-
Save radmen/5048080 to your computer and use it in GitHub Desktop.
Simple vim command to turn off Gdiff. Works only when Gdiff buffer is focused.
This file contains hidden or 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
" Simple way to turn off Gdiff splitscreen | |
" works only when diff buffer is focused | |
if !exists(":Gdiffoff") | |
command Gdiffoff diffoff | q | Gedit | |
endif |
Exactly what I was looking for. Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! I found this to be the best way of closing the diff window