<?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; the cool way to diff for vim users</title>
	<atom:link href="http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/feed" rel="self" type="application/rss+xml" />
	<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users</link>
	<description>Are dreams thoughts... or are thoughts dreams..</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:35:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Alvaro Zuniga</title>
		<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/comment-page-1#comment-355</link>
		<dc:creator>Alvaro Zuniga</dc:creator>
		<pubDate>Tue, 23 Nov 2010 10:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=171#comment-355</guid>
		<description>The following command will get all files that have text banana, peanut or bread in the current directory and any other directory under it. The files are opened in multiple buffers.

vim `grep -REi &#039;(banana&#124;peanut&#124;bread)&#039; . &#124; cut -f 1 -d : &#124; sort -u`

Remove the R to only search the current directory and the i for case sensitivity.

The following is a simpler form that will load any php file with the world include. Notice the lack of E for extended regular expressions

vim `grep &#039;include&#039; *.php &#124; cut -f 1 -d : &#124; sort -u`

Once the files are opened the following commands can be used

:ls 
shows the files currently open

:bN
jumps to the appropriate file where N is a number of a file

:bn and :bp for buffer next and previous etc.</description>
		<content:encoded><![CDATA[<p>The following command will get all files that have text banana, peanut or bread in the current directory and any other directory under it. The files are opened in multiple buffers.</p>
<p>vim `grep -REi &#8216;(banana|peanut|bread)&#8217; . | cut -f 1 -d : | sort -u`</p>
<p>Remove the R to only search the current directory and the i for case sensitivity.</p>
<p>The following is a simpler form that will load any php file with the world include. Notice the lack of E for extended regular expressions</p>
<p>vim `grep &#8216;include&#8217; *.php | cut -f 1 -d : | sort -u`</p>
<p>Once the files are opened the following commands can be used</p>
<p>:ls<br />
shows the files currently open</p>
<p>:bN<br />
jumps to the appropriate file where N is a number of a file</p>
<p>:bn and :bp for buffer next and previous etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anirudh</title>
		<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/comment-page-1#comment-359</link>
		<dc:creator>Anirudh</dc:creator>
		<pubDate>Tue, 23 Nov 2010 05:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=171#comment-359</guid>
		<description>Thanks.. that was great :)</description>
		<content:encoded><![CDATA[<p>Thanks.. that was great <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/comment-page-1#comment-244</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Wed, 12 May 2010 06:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=171#comment-244</guid>
		<description>This is awesome.  You have just made my day.  I can&#039;t wait to use it at work tomorrow.</description>
		<content:encoded><![CDATA[<p>This is awesome.  You have just made my day.  I can&#8217;t wait to use it at work tomorrow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anirudh</title>
		<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/comment-page-1#comment-137</link>
		<dc:creator>Anirudh</dc:creator>
		<pubDate>Mon, 23 Nov 2009 06:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=171#comment-137</guid>
		<description>nice to know, John. Thanks :)</description>
		<content:encoded><![CDATA[<p>nice to know, John. Thanks <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Smith</title>
		<link>http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users/comment-page-1#comment-136</link>
		<dc:creator>John Smith</dc:creator>
		<pubDate>Wed, 18 Nov 2009 12:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=171#comment-136</guid>
		<description>If you have differences between files, you can use the keys &#039;do&#039; and &#039;dp&#039; to automatically copy from the second file and to the second file, respectively.</description>
		<content:encoded><![CDATA[<p>If you have differences between files, you can use the keys &#8216;do&#8217; and &#8216;dp&#8217; to automatically copy from the second file and to the second file, respectively.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

