vimdiff file1 file2
file2 content which is not present in file1 has to be written in new file, file3.
Is there any options for vimdiff to get this difference.
vimdiff file1 file2
file2 content which is not present in file1 has to be written in new file, file3.
Is there any options for vimdiff to get this difference.
within vimdiff you have the option :TOhtml to save the outpout as html.
Maybe you can use sdiff and colordiff instead
sdiff file1 file2 | colordiff