I\'ve have two files opened. They are opened in vertical mode, next to next. Can I instantly diff these two files without leaving or closing Vim ?
Following up on the earlier answers,
:windo difft (short for diffthis) will start diff mode in all the open windows.:windo diffo (short for diffoff) will stop diff mode in all the open windows.I have the following mappings in my vimrc to make it easier:
command! Difft windo diffthis
command! Diffo windo diffoff