gvimdiff/vimdiff is a nice way to visualise difference between two files. Though diff can be used to find the differences, it is not convenient when changes are many.

Here is a sample usage.

$ gvimdiff originalfile changedfile

Here is a sample screenshot


You can see the differences being displayed in a better form, especialy if you enable the syntax highlighting and folding in vim.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: