History Report a problem
Article Edit this page Discussion

Use gvim for diff under TortoiseCVS

From Vim Tips Wiki

(Redirected from VimTip1286)
Jump to: navigation, search
 

Tip 1286Previous TipNext Tip

Created: July 17, 2006 Complexity: basic Author: Tom Purl Minimum version: 6.0 Karma: 8/9 Imported from: Tip#1286


The diff mode of Vim and Gvim is really excellent, and I like to use it as the external diff application with TortoiseCVS. Here's how you would configure this:

1. Right-click any file and choose "CVS -> Preferences".

2. In the TortoiseCVS window, choose the "Tools" tab.

3. Place the following in the "Diff Application" text box (adjust for your Vim install location):

C:\Program Files\Vim\vim70\gvim.exe

4. Place the following in the "Two-way diff parameters" text box:

-d "%1" "%2"

Now you should be able to right-click a CVS-controlled file, choose the "CVS diff" option and view results in Gvim.

Any additional Gvim parameters should only appear in the "Two-way diff parameters" text box, not the "Diff application" text box.

[edit] Comments


Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Terminator Wiki
Legend of Zelda Wiki
Flash Gordon
Everquest II Wiki
Yo-Yo Wiki
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions


Vote for featured Wikia!

Send this article to a friend
"Use gvim for diff under TortoiseCVS"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation