Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Vim script to highlight lines changed from a base version in SCM
branch: master

This branch is 2 commits ahead, 3 commits behind ghewgill:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
NEWS
README
TODO
scmdiff.vim

README

vim-scmdiff: A Vim script to show the differences from a base version in SCM.  

Supported SCMs:
  * CVS
  * SVN
  * GIT
  * Mercurial
  * Bitkeeper

Installation:
  copy the scmdiff.vim script to your vim plugin path ie: "~/.vim/plugins".   (system paths may vary)

Default commands:
  \d Toggle diff view on/off
  :D rev Difference between current and rev

This script is an evolution from the scripts posted at the following places:
  http://tekrat.com/2008/02/21/vim-diff/
  http://www.vim.org/scripts/script.php?script_id=2201
  http://playground.audioscrobbler.com/jonty/scmdiff.vim

Addendum (2012-04-26): Modified to only support Git repositories and to show
diff side-by-side like vimdiff.
Something went wrong with that request. Please try again.