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 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exactly what I was looking for. Thank you!