gitdiff.vim : show git diff in a split window
| script karma |
Rating 18/6,
Downloaded by 3382 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Bart Trojanowski |
| |
| script type |
| utility |
| |
| description |
This script provides two functions to display git diffs in vim.
:GITDiff [commitish]
Split the vim window vertically, display the HEAD, or some other changeset, version of the file in the split, then diff them.
:GITChanges [commitish]
Highlight lines that were changed since the HEAD or some other changeset.
Some examples:
:GITDiff HEAD~10
:diffoff
:GITChanges origin/master
:syntax on |
| |
| install details |
1. grab vimball (vimscript#1502) then:
2. vim gitdiff.vba
:so %
:q |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.46
|