GoDiff : Quick Inline Colored Diff
| script karma
Downloaded by 1280
Comments, bugs, improvements
script versions (upload new version)
|A plug-in to quickly compare two sections of text with colors.
checkout the wiki here with screenshots:
First copy text-1 (e.g. '3yy' to copy 3 lines)
visually select text-2 (e.g. 'V2j' to visually select 3 lines)
Now press 'gd' to compare text-1 and text-2
give a count for number of lines to diff followed by gd (e.g. '3gd')
Finally press 'gd' again to restore colors
Registers can also be used. Try '"a3yy' or '3"ayy' to copy 3 lines to register 'a'
Then '"a3gd' or '3"agd' on text to compare with.
For single line compare, simply press 'yy' on text-1 and 'gd' on text-2
| Source this file
Copy its content into your .vimrc
If using pathogen, copy this file into .vim/bundle/godiff/plugin/
Copy it to your .vim/plugin directory to automatically source it when vim
Copy it to your .vim/plugins directory (or any other directory) and source
it explicitly from your .vimrc
Click on the package to download.
ip used for rating: 18.104.22.168