Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: cvsvimdiff zshism

FYI there are 2 of these sorts of scripts in the vim scripts repository.
The first [1] is a vim plugin that you run from inside vim and it compares
the working file against cvs. The second [2] is a shell script (ksh) which
diffs the current version or optionally specified revisions.

[1] http://www.vim.org/scripts/script.php?script_id=1214
[2] http://www.vim.org/scripts/script.php?script_id=1777

I've been using a slightly modified version of 1214 for a while now and it
works well. 1777 is new, just noticed it myself, so I don't have any
experience with it.

My changes to 1214 are to fix a couple of annoyances I had with it, I've
attached my changes (gzipped diff) in case you want them.

Chris Johnson wrote:

> I've just started using cvs to manage some code, and sometimes I want to
> compare my working copy of a file to some version in the repository.
> cvs diff offers a facility to do this, but I really prefer vim's diff
> capabilities.  With vim, you can do side by side comparison of files,
> changes are highlighted, and so on.


John Eikenberry
[jae@xxxxxxxx - http://zhar.net]
"It is difficult to produce a television documentary that is both incisive
and probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling

Attachment: cvsdiff.diff.gz
Description: Binary data

Messages sorted by: Reverse Date, Date, Thread, Author