<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Vimdiff</id>
	<title>Vimdiff - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Vimdiff"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Vimdiff&amp;action=history"/>
	<updated>2026-04-30T09:02:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Vimdiff&amp;diff=311&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== vimdiff ==  Vim documentation: diff - http://vimdoc.sourceforge.net/htmldoc/diff.html  vimdiff:  vimdiff [options] file1 file2  vimdiff [options] file1 file2 file3  &lt;pre&gt; c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Vimdiff&amp;diff=311&amp;oldid=prev"/>
		<updated>2014-07-02T19:07:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== vimdiff ==  Vim documentation: diff - http://vimdoc.sourceforge.net/htmldoc/diff.html  vimdiff:  vimdiff [options] file1 file2  vimdiff [options] file1 file2 file3  &amp;lt;pre&amp;gt; c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== vimdiff ==&lt;br /&gt;
&lt;br /&gt;
Vim documentation: diff - http://vimdoc.sourceforge.net/htmldoc/diff.html&lt;br /&gt;
&lt;br /&gt;
vimdiff:&lt;br /&gt;
 vimdiff [options] file1 file2&lt;br /&gt;
 vimdiff [options] file1 file2 file3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ctrl+w ctrl+w - switch windows&lt;br /&gt;
ctrl+w [right] - switch to right windows&lt;br /&gt;
ctrl+w [left] - switch to left windows&lt;br /&gt;
do - diff obtain change (do below missing)&lt;br /&gt;
dp - diff push changes&lt;br /&gt;
[c - previous difference&lt;br /&gt;
]c - next difference&lt;br /&gt;
:diffupdate - diff update ;)&lt;br /&gt;
:syntax off - syntax off&lt;br /&gt;
zo - open folded text&lt;br /&gt;
zc - close folded text&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* http://andrejk.blogspot.com/2008/04/vimdiff-howto.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tips from http://amjith.blogspot.com/2008/08/quick-and-dirty-vimdiff-tutorial.html&lt;br /&gt;
* If you load up two files in splits (:vs or :sp), you can do :diffthis on each window and achieve a diff of files that were already loaded in buffers&lt;br /&gt;
* :diffoff can be used to turn off the diff mode. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Multiple Windows ==&lt;br /&gt;
&lt;br /&gt;
Note: to exit, you have to close out all windows, one at a time, or use:&lt;br /&gt;
 :wa  # write changes to all buffers&lt;br /&gt;
 :xa  # save and exit all buffers&lt;br /&gt;
 :qa  # quit all buffers&lt;br /&gt;
 :qa! # quit all buffers (without saving)&lt;br /&gt;
&lt;br /&gt;
If you have more than 2 windows, &amp;#039;do&amp;#039; and &amp;#039;dp&amp;#039; will not work.  You will need to specify their full name and buffer:&lt;br /&gt;
 :diffget [buffer]&lt;br /&gt;
 :diffpush [buffer]&lt;br /&gt;
&lt;br /&gt;
== vim ==&lt;br /&gt;
&lt;br /&gt;
See [[vim]]&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>