Quick File Compare tool (vim)

Yesterday, one of my developer modified huge script file but he used old version to modify. It was uphill task to understand the changes and correct it.
I am not keen on any installations or add-in… vim (one of my favorite Linux editor, http://www.vim.org/) helped to find the differences so I can fix it manually.

Steps to compare:
• Open first file with VIM
• Open Split Diff with… and open second file (File -> Split Diff with…)
vim_diff_01
• Select second file to compare and open
• See the difference in Read-Only format
vim_diff_02

Advertisements
This entry was posted in knowledge, Productivity, Windows Server and tagged , , , . Bookmark the permalink.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s