" Vim script to show file differences from a base version in SCM. " Home: http://github.com/ghewgill/vim-scmdiff " Default commands: " \d Toggle diff view on/off " :D rev Difference between current and rev " " You can change the highlighting by adding the following to your " .vimrc file and customizing as necessary. (or just uncomment them here): " highlight DiffAdd ctermbg=DarkBlue ctermfg=white cterm=NONE " highlight DiffChange ctermbg=DarkBlue ctermfg=white cterm=NONE " highlight DiffText ctermbg=DarkBlue ctermfg=white cterm=underline " highlight DiffDelete ctermbg=red ctermfg=white if exists("loadedScmDiff") || &cp finish endif let loadedScmDiff = 1 map d :call scmToggle() noremap