I use Vim. I open a file. I edit it and I want to see what I\'ve edited before I save it.
How can I do this in Vim?
Follow the above suggests I use git diff that I like much:
:w !git diff % -