从
here:
原文链接:https://www.f2er.com/bash/387605.htmlif !exists(":DiffOrig") command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis \ | wincmd p | diffthis endif
然后就这样做:DiffOrig et voila!
:help :DiffOrig