On , I learnt ...
About Vim’s :diffthis
command
You can manually compare two more open buffers by running:
:windo diffthis
This is an alternative to opening the files with vimdiff
. One advantage is
that you compare buffers that aren’t files (e.g. text pasted from the
clipboard).
Further reading:
- There’s some useful info in the
“Comparing buffers with
vimdiff
” screencast. :help :diffthis