Create a gist now

Instantly share code, notes, and snippets.

@radmen /vimrc
Created Feb 27, 2013

What would you like to do?
Simple vim command to turn off Gdiff. Works only when Gdiff buffer is focused.
" Simple way to turn off Gdiff splitscreen
" works only when diff buffer is focused
if !exists(":Gdiffoff")
command Gdiffoff diffoff | q | Gedit
endif
@saamalik

This comment has been minimized.

Show comment Hide comment
@saamalik

saamalik May 23, 2013

Thank you! I found this to be the best way of closing the diff window

Thank you! I found this to be the best way of closing the diff window

@GrumpyRainbow

This comment has been minimized.

Show comment Hide comment
@GrumpyRainbow

GrumpyRainbow Aug 14, 2013

Exactly what I was looking for. Thank you!

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