<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.jans.space//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://wiki.jans.space//index.php?action=history&amp;feed=atom&amp;title=Vimdiff"/>
	<link rel="alternate" type="text/html" href="https://wiki.jans.space//index.php?title=Vimdiff&amp;action=history"/>
	<updated>2026-04-19T03:24:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://wiki.jans.space//index.php?title=Vimdiff&amp;diff=20&amp;oldid=prev</id>
		<title>Der Jan: Created page with &quot;To switch windows in vimdiff or to navigate windows in vimdiff or to change windows in vimdiff try the following: The &quot;:vertical&quot; command can be inserted before another command t…&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.jans.space//index.php?title=Vimdiff&amp;diff=20&amp;oldid=prev"/>
		<updated>2013-11-26T16:53:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To switch windows in vimdiff or to navigate windows in vimdiff or to change windows in vimdiff try the following: The &amp;quot;:vertical&amp;quot; command can be inserted before another command t…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To switch windows in vimdiff or&lt;br /&gt;
to navigate windows in vimdiff or&lt;br /&gt;
to change windows in vimdiff try the following:&lt;br /&gt;
The &amp;quot;:vertical&amp;quot; command can be inserted before another command that&lt;br /&gt;
splits a window.&lt;br /&gt;
&lt;br /&gt;
MOVING BETWEEN WINDOWS&lt;br /&gt;
&lt;br /&gt;
        CTRL-W h        move to the window on the left&lt;br /&gt;
        CTRL-W j        move to the window below&lt;br /&gt;
        CTRL-W k        move to the window above&lt;br /&gt;
        CTRL-W l        move to the window on the right&lt;br /&gt;
&lt;br /&gt;
        CTRL-W t        move to the TOP window&lt;br /&gt;
        CTRL-W b        move to the BOTTOM window&lt;br /&gt;
&lt;br /&gt;
  Moving windows&lt;br /&gt;
==&lt;br /&gt;
&lt;br /&gt;
        CTRL-W K        move window to the upper&lt;br /&gt;
        CTRL-W H        move window to the far left&lt;br /&gt;
        CTRL-W J        move window to the bottom&lt;br /&gt;
        CTRL-W L        move window to the far right&lt;br /&gt;
&lt;br /&gt;
Source: [https://groups.google.com/forum/#!topic/bash-tips/kOzx8FVTVOc]&lt;br /&gt;
&lt;br /&gt;
==&lt;br /&gt;
&lt;br /&gt;
This looks terrifying at first, but let me explain what is going on.&lt;br /&gt;
From left to right, top to the bottom:&lt;br /&gt;
*LOCAL — this is file from the current branch&lt;br /&gt;
*BASE — common ancestor, how file looked before both changes&lt;br /&gt;
*REMOTE — file you are merging into your branch`&lt;br /&gt;
*MERGED — merge result, this is what gets saved in the repo&lt;br /&gt;
&lt;br /&gt;
Let’s assume that we want to keep the “octodog” change (from REMOTE). For that, move to the MERGED file (Ctrl + w, j), move your cursor to a merge conflict area and then:&lt;br /&gt;
:diffget RE&lt;br /&gt;
&lt;br /&gt;
This gets the corresponding change from REMOTE and puts it in MERGED file. You can also:&lt;br /&gt;
        :diffg RE  &amp;quot; get from REMOTE&lt;br /&gt;
        :diffg BA  &amp;quot; get from BASE&lt;br /&gt;
        :diffg LO  &amp;quot; get from LOCAL&lt;br /&gt;
&lt;br /&gt;
Save the file and quit (a fast way to write and quit multiple files is :wqa).&lt;br /&gt;
Run git commit and you are all set!&lt;br /&gt;
&lt;br /&gt;
[http://www.rosipov.com/blog/use-vimdiff-as-git-mergetool/]&lt;/div&gt;</summary>
		<author><name>Der Jan</name></author>
	</entry>
</feed>