title: How do I reference "the left" and "the right" buffer in a vimdiff?
body: <p>Disclaimer: I know now to use <code>vimdiff</code>, <code>dp</code>, <code>dg</code> and the other commands related to diffing in Vim.</p>
  
  <p>However, there's something which seems like it cannot be done.</p>
  
  <p>I want to remap the cursor keys so that <kbd>&rarr;</kbd> moves the difference to the right and <kbd>&larr;</kbd> moves the difference to the left <strong>regardless in which buffer the cursor is currently placed.</strong></p>
  
  <p>The issue is that <code>vimdiff</code> seems to have no understanding of a <em>left</em> or a <em>right</em> buffer, instead <code>dp</code> (or <code>:diffput</code>) moves the difference from the current window to the other window while <code>dg</code> (or <code>:diffget</code>) fetches the difference from the other window into the currently active one. But sometimes I place my cursor in the left window to put something to the right, sometimes the other way round. So I cannot simply map <kbd>&rarr;</kbd> to be <code>:diffput</code> or <code>:diffget</code>, I need some context about in which buffer the cursor is currently placed.</p>
  
  <p>How do I achieve this?</p>