In the Vim online manual, it :help DiffOrig
will show the recommended sequence of commands for receiving changes to the current editing file.
There he is:
command DiffOrig vert new | set bt=nofile | r
\ | wincmd p | diffthis
I wonder what the effect is 0d_. I tried 0d_in normal mode, it works like dd, but I can’t understand why it is used here.
source
share