How to create a diff of the current text and the clipboard?
It could result in a vertical split showing the clipboard content, and a normal diff between them.
Opening a vertical split, pasting and diffing should work, but there are the commands :diffsplit
and :diffthis
, so I feel I may be missing something.
p
in vim. I tried to manually create two documents to diff, but that is more like a workaround, not a solution.