+1  A: 

You could use regular diff to get the output if you have it installed:

diff  --unchanged-line-format='%L' --old-line-format='' \
  --new-line-format='' a.txt b.txt

You would run that from the command line on Linux. Or from within Vim you would run it by typing :! first as follows:

:!diff  --unchanged-line-format='%L' --old-line-format='' \
  --new-line-format='' a.txt b.txt
rq
sorry I am new to all this how do you run that command from vim?
Javed Ahamed
I've clarified what I meant. Vim seems to use diff under the hood so it should work on all platforms. I assume Linux as I haven't much experience with Windows, so I don't know how this would work there.
rq
Thanks! Now i have to figure out how to add this functionality to more than 2 files at a time ^_^.
Javed Ahamed