I wanted to know if it is possible to have a vimdiff like functionality to check for diff and have synchronized scrolling of two (or more) files in Sublime Text 2 just like vimdiff?
Thanks
I wanted to know if it is possible to have a vimdiff like functionality to check for diff and have synchronized scrolling of two (or more) files in Sublime Text 2 just like vimdiff?
Thanks
I use Compare Side-By-Side on a daily basis to compare two files in Sublime Text 3. I haven't tested it on Sublime Text 2, but their site claims that it works on both Sublime Text 2 and 3.
From their site:
Compare Side-By-Side: Side-by-side file comparison & difference tool for ST2/3
Features:
- Easily select two tabs or selections to compare
- Comparison results open in a new window
- Empty lines added so common code lines up
- Count number of lines changed
- Highlighting of changed lines
- Intra-line diff highlighting
- Synchronized scrolling
Installation Options:
- Search for and install using Sublime Package Control (ctrl+shift+P, “Install Package”)
- Clone or extract this repo to a new folder in your Sublime 'Packages' folder (Preferences -> Browse Packages)
More details can be found here