<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: vimdiff &#8211; Edit two or Three versions of a file with Vim and show differences</title>
	<atom:link href="http://www.debianadmin.com/vimdiff-edit-two-or-three-versions-of-a-file-with-vim-and-show-differences.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/vimdiff-edit-two-or-three-versions-of-a-file-with-vim-and-show-differences.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: c.</title>
		<link>http://www.debianadmin.com/vimdiff-edit-two-or-three-versions-of-a-file-with-vim-and-show-differences.html/comment-page-1#comment-2710</link>
		<dc:creator>c.</dc:creator>
		<pubDate>Fri, 10 Apr 2009 14:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=721#comment-2710</guid>
		<description>Hi,

Thanks for the article. I&#039;m also a fan of vimdiff, and I use it to help me merging git branches. Just add the lines

&lt;code&gt;
[merge]
        tool = vimdiff
&lt;/code&gt;

Then the command &quot;git mergetool&quot; will pick it up automatically. It&#039;s indeed a productivity booster!

Also I&#039;d recommend the &lt;a href=&quot;http://www.vim.org/scripts/script.php?script_id=760&quot; rel=&quot;nofollow&quot;&gt;peaksea&lt;/a&gt; color scheme for VIM to be used with vimdiff. With peaksea you don&#039;t have to worry about the diff color markup conflicting with the syntax highlighting itself -- when is the last time you opened two documents in diff mode only to find text &quot;gone&quot; because the syntax highlight color happens to be the same as diff background color? With peaksea I never had a problem.

You can also configure VIM so that peaksea is only activated in diff mode. To do this, put someting like this in your ~/.vimrc:
&lt;code&gt;
if &amp;diff
    set t_Co=256
    set backgroud=dark
    colorscheme peaksea
else
    colorscheme YOUR_OTHER_COLOR_SCHEME_OF_CHOICE
endif
&lt;/code&gt;

Enjoy! ;)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the article. I&#8217;m also a fan of vimdiff, and I use it to help me merging git branches. Just add the lines</p>
<p><code><br />
[merge]<br />
        tool = vimdiff<br />
</code></p>
<p>Then the command &#8220;git mergetool&#8221; will pick it up automatically. It&#8217;s indeed a productivity booster!</p>
<p>Also I&#8217;d recommend the <a href="http://www.vim.org/scripts/script.php?script_id=760" rel="nofollow">peaksea</a> color scheme for VIM to be used with vimdiff. With peaksea you don&#8217;t have to worry about the diff color markup conflicting with the syntax highlighting itself &#8212; when is the last time you opened two documents in diff mode only to find text &#8220;gone&#8221; because the syntax highlight color happens to be the same as diff background color? With peaksea I never had a problem.</p>
<p>You can also configure VIM so that peaksea is only activated in diff mode. To do this, put someting like this in your ~/.vimrc:<br />
<code><br />
if &amp;diff<br />
    set t_Co=256<br />
    set backgroud=dark<br />
    colorscheme peaksea<br />
else<br />
    colorscheme YOUR_OTHER_COLOR_SCHEME_OF_CHOICE<br />
endif<br />
</code></p>
<p>Enjoy! <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren</title>
		<link>http://www.debianadmin.com/vimdiff-edit-two-or-three-versions-of-a-file-with-vim-and-show-differences.html/comment-page-1#comment-2696</link>
		<dc:creator>Warren</dc:creator>
		<pubDate>Wed, 08 Apr 2009 14:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=721#comment-2696</guid>
		<description>Thanks. Will add this to my toolbox. Another quality alternative is &quot;diffuse&quot;</description>
		<content:encoded><![CDATA[<p>Thanks. Will add this to my toolbox. Another quality alternative is &#8220;diffuse&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
