sponsor Vim development Vim logo Vim Book Ad

cvsdiff.vim : visual cvs diff utility for vim diffsplit, horizontal or vertical

 script karma  Rating 69/21, Downloaded by 1397  Comments, bugs, improvements  Vim wiki

created by
Eric Ji
 
script type
utility
 
description
vim plugin to for visual display of cvs diff in vim using vim diffsplit

1) used as vim command, format :Cvsdiff [v] [version #]
    :Cvsdiff    
       -- diff between opened file and lastest cvs version,
           horizontal split
    :Cvsdiff  v
       -- diff between opened file and lastest cvs version,
           vertical split
    :Cvsdiff <version #>  example  :Cvsdiff 1.2
       -- diff between opened file and cvs version #, horizontal split
    :Cvsdiff v <version #>  example  :Cvsdiff v 1.2
       -- diff between opened file and cvs version #, vertical split
2) map to key
    can create mapping in ~/.vimrc by adding following lines, examples
    map <F8> <Plug>Cvsdiff
        -- press F8 in vim, show diff to cvs last version, horizontal split
    map <F7> <Plug>Cvsdiffv
        -- press F7 in vim, show diff to cvs last version, vertical split

error report:
    eji@yahoo-inc.com
    feel free to customize it, distribute it or do whatever you want.

 
install details
copy this file to your vim plugin directory, normally ~/.vim/plugin
if not, can manally source this file in vim or add into ~/.vimrc
   :source cvsdiff.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cvsdiff.vim 0.1 2005-02-23 6.0 Eric Ji Initial upload
ip used for rating: 3.86.235.207

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github