Skip to content

Instantly share code, notes, and snippets.

@g10guang
Created February 13, 2019 06:52
Show Gist options
  • Save g10guang/5cc84050870a5a81b4c7a8222c86ad14 to your computer and use it in GitHub Desktop.
Save g10guang/5cc84050870a5a81b4c7a8222c86ad14 to your computer and use it in GitHub Desktop.

show diff between edit file and disk file

:w !diff % -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment