<?xml version="1.0" encoding="utf-8"?>
<appendix id="Shortcut_keys">
  <title>Shortcut keys<indexterm>
      <primary>shortcut keys</primary>
    </indexterm></title>

  <para>WinMerge includes most of the familiar shortcut keys commonly used in
  other Windows applications.</para>

  <table>
    <title>General</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Tab</keycap>
            </keycombo></entry>

          <entry>Switch to the next tab</entry>

        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Shift</keycap>

              <keycap>Tab</keycap>
            </keycombo></entry>

          <entry>Switch to the previous tab</entry>

        </row>

      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Folder compare</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycap>Enter</keycap></entry>

          <entry>Open selected file or folder</entry>
        </row>

        <row>
          <entry><keycap>Backspace</keycap></entry>

          <entry>Open parent folder if possible (available only when subfolders
          are not included in compare)</entry>
        </row>

        <row>
          <entry><keycap>F5</keycap></entry>

          <entry>Rescan folders</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Home</keycap>
            </keycombo></entry>

          <entry>Go to first different file or folder</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>End</keycap>
            </keycombo></entry>

          <entry>Go to last different file or folder</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Enter</keycap>
            </keycombo></entry>

          <entry>Go to currently selected item (if scrolled off-screen)</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Up Arrow</keycap>
            </keycombo></entry>

          <entry>Go to previous different file or folder</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Down Arrow</keycap>
            </keycombo></entry>

          <entry>Go to next different file or folder</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Left Arrow</keycap>
            </keycombo></entry>

          <entry>Copy selected items from right to left</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Right Arrow</keycap>
            </keycombo></entry>

          <entry>Copy selected items from left to right</entry>
        </row>
      </tbody>
    </tgroup>
  </table>

  <table>
    <title>File compare</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycap>Esc</keycap></entry>

          <entry>Close window (if enabled in options)</entry>
        </row>

        <row>
          <entry><keycap>F4</keycap></entry>

          <entry>Show next line difference</entry>
        </row>

        <row>
          <entry><keycap>Shift</keycap>+<keycap>F4</keycap></entry>

          <entry>Show previous line difference</entry>
        </row>

        <row>
          <entry><keycap>F5</keycap></entry>

          <entry>Refresh</entry>
        </row>

        <row>
          <entry><keycap>Ctrl</keycap>+<keycap>F5</keycap></entry>

          <entry>Reload</entry>
        </row>

        <row>
          <entry><keycap>F6</keycap></entry>

          <entry>Change to next pane (active file)</entry>
        </row>

        <row>
          <entry><keycap>Shift</keycap>+<keycap>F6</keycap></entry>

          <entry>Change to previous pane (active file)</entry>
        </row>

        <row>
          <entry><keycap>F7</keycap></entry>

          <entry>Go to previous difference</entry>
        </row>

        <row>
          <entry><keycap>Shift</keycap>+<keycap>F7</keycap></entry>

          <entry>Go to previous conflict</entry>
        </row>

        <row>
          <entry><keycap>Ctrl</keycap>+<keycap>F7</keycap></entry>

          <entry>Go to previous file</entry>
        </row>

        <row>
          <entry><keycap>F8</keycap></entry>

          <entry>Go to next difference</entry>
        </row>

        <row>
          <entry><keycap>Shift</keycap>+<keycap>F8</keycap></entry>

          <entry>Go to next conflict</entry>
        </row>

        <row>
          <entry><keycap>Ctrl</keycap>+<keycap>F8</keycap></entry>

          <entry>Go to next file</entry>
        </row>

        <row>
          <entry><keycap>F9</keycap></entry>

          <entry>Merge Mode on or off (toggle)</entry>
        </row>

        <row>
          <entry><keycap>F12</keycap></entry>

          <entry>Go to definition</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>B</keycap>
            </keycombo></entry>

          <entry>Begin column selection</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>D</keycap>
            </keycombo></entry>

          <entry>Toggle diff context mode</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Alt</keycap>

              <keycap>E</keycap>
            </keycombo></entry>

          <entry>Open with external editor</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>G</keycap>
            </keycombo></entry>

          <entry>Go to difference or line</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Shift</keycap>

              <keycap>G</keycap>
            </keycombo></entry>

          <entry>Go to moved line (2 panes)</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Shift</keycap>

              <keycap>G</keycap>
            </keycombo></entry>

          <entry>Go to moved line between left side and middle (3 panes)</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Alt</keycap>

              <keycap>G</keycap>
            </keycombo></entry>

          <entry>Go to moved line between middle and right side (3 panes)</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Shift</keycap>

              <keycap>M</keycap>
            </keycombo></entry>

          <entry>Add marker</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Alt</keycap>

              <keycap>M</keycap>
            </keycombo></entry>

          <entry>Do auto merge</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>S</keycap>
            </keycombo></entry>

          <entry>Add synchronization point</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>U</keycap>
            </keycombo></entry>

          <entry>Convert selected text to lower case</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>
              <keycap>Shift</keycap>

              <keycap>U</keycap>
            </keycombo></entry>

          <entry>Convert selected text to upper case</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Y</keycap>
            </keycombo></entry>

          <entry>Redo previously undone action</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Z</keycap>
            </keycombo></entry>

          <entry>Undo last action</entry>
        </row>
      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Difference navigation and merging (normal mode)</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Home</keycap>
            </keycombo></entry>

          <entry>Go to first difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>End</keycap>
            </keycombo></entry>

          <entry>Go to last difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Enter</keycap>
            </keycombo></entry>

          <entry>Go to current difference or select difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Up Arrow</keycap>
            </keycombo></entry>

          <entry>Go to previous difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Down Arrow</keycap>
            </keycombo></entry>

          <entry>Go to next difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>
              <keycap>Shift</keycap>

              <keycap>Up Arrow</keycap>
            </keycombo></entry>

          <entry>Go to previous conflict</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>
              <keycap>Shift</keycap>

              <keycap>Down Arrow</keycap>
            </keycombo></entry>

          <entry>Go to next conflict</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Left Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from right side to left side</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Alt</keycap>

              <keycap>Right Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from left side to right side</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Alt</keycap>

              <keycap>Left Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from right side to left side and select next
          difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Alt</keycap>

              <keycap>Right Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from left side to right side and select next
          difference</entry>
        </row>
      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Difference navigation and merging (merge mode)</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycap>Up Arrow</keycap></entry>

          <entry>Go to previous difference</entry>
        </row>

        <row>
          <entry><keycap>Down Arrow</keycap></entry>

          <entry>Go to next difference</entry>
        </row>

        <row>
          <entry><keycap>Left Arrow</keycap></entry>

          <entry>Copy difference from right side to left side</entry>
        </row>

        <row>
          <entry><keycap>Right Arrow</keycap></entry>

          <entry>Copy difference from left side to right side</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Alt</keycap>

              <keycap>Left Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from right side to left side and select next
          difference</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Alt</keycap>

              <keycap>Right Arrow</keycap>
            </keycombo></entry>

          <entry>Copy difference from left side to right side and select next
          difference</entry>
        </row>
      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Find and Replace</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>F</keycap>
            </keycombo></entry>

          <entry>Find text (opens Find dialog)</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>H</keycap>
            </keycombo></entry>

          <entry>Replace text (opens Replace dialog)</entry>
        </row>

        <row>
          <entry><keycap>F3</keycap></entry>

          <entry>Find next</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Shift</keycap>

              <keycap>F3</keycap>
            </keycombo></entry>

          <entry>Find previous</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>F3</keycap>
            </keycombo></entry>

          <entry>Find selected text in file</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Shift</keycap>

              <keycap>F3</keycap>
            </keycombo></entry>

          <entry>Find selected text upwards in file</entry>
        </row>
      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Bookmarks</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycombo>
              <keycap>F2</keycap>
            </keycombo></entry>

          <entry>Next Bookmark</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Shift</keycap>

              <keycap>F2</keycap>
            </keycombo></entry>

          <entry>Previous Bookmark</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>F2</keycap>
            </keycombo></entry>

          <entry>Toggle Bookmark</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>Shift</keycap>

              <keycap>F2</keycap>
            </keycombo></entry>

          <entry>Clear all Bookmarks</entry>
        </row>

      </tbody>
    </tgroup>
  </table>

  <table>
    <title>Zoom</title>

    <tgroup cols="2">
      <thead>
        <row>
          <entry>Keys</entry>

          <entry>Function</entry>
        </row>
      </thead>

      <tbody>
        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>+</keycap>
            </keycombo></entry>

          <entry>Increase text size</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>-</keycap>
            </keycombo></entry>

          <entry>Decrease text size</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <keycap>*</keycap>
            </keycombo></entry>

          <entry>Reset text zoom to default size</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <mousebutton>MouseWheel Up</mousebutton>
            </keycombo></entry>

          <entry>Increase text size</entry>
        </row>

        <row>
          <entry><keycombo>
              <keycap>Ctrl</keycap>

              <mousebutton>MouseWheel Down</mousebutton>
            </keycombo></entry>

          <entry>Decrease text size</entry>
        </row>
      </tbody>
    </tgroup>
  </table>
</appendix>
