EnhancedDiff : A Vim plugin for creating better diffs (sometimes)
| script karma
Downloaded by 410
Comments, bugs, improvements
script versions (upload new version)
|This plugin allows to make use of the Patience diff algorithm for generating diffs to use with Vim. This needs the git command line tool available.
You can also customize you setup to use any other tool to generated diffs (e.g. mercurial) Read the help on how to configure the plugin accordingly.
See the screenshots at https://github.com/chrisbra/vim-diff-enhanced
This plugin defines the following Ex commands:
:PatienceDiff - Use the Patience Diff algorithm for the next diff mode
:CustomDiff <algorithm> - Use <algorithm> to generate the diff. Use any of
After changing the algorithm, you need to run :diffupdate if you are in diff mode to regenerate the diff.
Note: Those 2 commands use internally git to generate the diffs. Make sure you have at least git version 1.8.2 installed.
:DisableEnhancedDiff - Disable plugin (and use default Vim diff capabilities).
|Simply source the file and the plugin will be installed automatically
And afterwards, have a look at the documentation: :h EnhancedDiff
Alternatively, use the plugin manager of your choice for installation
Click on the package to download.
ip used for rating: 220.127.116.11