Reference

Keyboard shortcuts

The default keys for each view. F7 and Shift+F7 move between differences everywhere; F8 and Shift+F8 move between merge conflicts. Every key can be changed.

Applies to DiffScope v1.5.2 Updated Oct 2026

Everywhere

KeysAction
F7 or Alt+↓Next difference (next conflict in a merge)
Shift+F7 or Alt+↑Previous difference (previous conflict in a merge)
Ctrl+TNew tab (Home)
Ctrl+W or Ctrl+F4Close the tab (asks first if there are unsaved changes)
Ctrl+Tab / Ctrl+Shift+TabNext / previous tab (also Ctrl+PageDown / Ctrl+PageUp)
Ctrl+1 … Ctrl+8, Ctrl+9Go to tab 1 to 8, or the last tab
Ctrl+Shift+HomeGo to Home
Ctrl+Shift+PCommand palette: run any command by name
Ctrl+PQuick Open: a recent comparison or a saved session
Ctrl+/Show every keyboard shortcut, searchable
Ctrl+,Settings
Ctrl+Plus / Ctrl+Minus / Ctrl+0Zoom in / out / reset
Ctrl+Shift+N, Ctrl+Shift+WNew window, close the window
Alt+F, E, V, N, M, O, P, T, HOpen the File, Edit, View, Navigate, Merge, Folder, Patch, Tools or Help menu

The menu bar shows every command with its current shortcut, and toolbar tooltips show the same keys.

Custom keys

The keys on this page are the ones DiffScope uses. The menus always show the keys that are active, and Ctrl+/ lists them all, searchable.

To change single commands, add keys.overrides to settings.json (in %APPDATA%\DiffScope on Windows, ~/.config/DiffScope on Linux). Map a command to one or more keys, or to null to unbind it. Two-stroke chords such as Ctrl+K Ctrl+R are allowed:

{
  "keys.overrides": {
    "diff.next": ["Ctrl+J"],
    "file.reload": null,
    "diff.copyRightAdvance": ["Ctrl+K Ctrl+R"]
  }
}

The command names are listed in the command palette and in the menus’ tooltips. The Alt menu keys above are never bound to commands.

Home screen

Keys / mouseAction
Ctrl+OCompare files: pick two files
Ctrl+Shift+OCompare folders
Ctrl+Shift+MSet up a 3-way merge
Ctrl+Shift+HHex compare
Ctrl+Shift+VCompare two pasted texts
Ctrl+KSearch the recent comparisons
Enter / Ctrl+EnterOpen the selected recent comparison here / in a new window
Ctrl+DPin or unpin it
DeleteRemove it from the recent list
F2Rename the selected saved session
F6Move the focus between the welcome tour and the page
Drop files on the windowTwo compare, three set up a merge (see Drag and drop)

Text compare

Keys / mouseAction
F7 or Alt+↓Next difference
Shift+F7 or Alt+↑Previous difference
Alt+Home / Alt+EndFirst / last difference
Alt+EnterBring the current difference back into view
Alt+→Copy the current difference to the right
Alt+←Copy the current difference to the left
Ctrl+Alt+→ / Ctrl+Alt+←Copy to the right / left and go to the next difference
Ctrl+F, Ctrl+HFind, find and replace
F3 / Shift+F3Next / previous match
Ctrl+GGo to line (123, L12, R40, +10, $)
Alt+AAlign the caret lines of both sides (sync point)
Ctrl+Alt+JGo to the other copy of a moved block
Alt+F2Accessible diff viewer
Ctrl+SSave the edited side(s)
Ctrl+Z / Ctrl+Y or Ctrl+Shift+ZUndo / redo
F5Reload both files from disk
Ctrl+Home / Ctrl+EndGo to the top / bottom
Arrow buttons in the middle gutterCopy that difference right or left
Click or drag in the overview stripJump to that part of the file

3-way merge

Keys / mouseAction
F8 / Shift+F8Next / previous conflict (unresolved first)
Alt+1Use mine
Alt+2Use theirs
Alt+3Mine, then theirs
Alt+4Theirs, then mine
Alt+5Use base
Alt+0Mark the conflict unresolved again
Ctrl+Alt+MMagic wand: resolve a conflict where each side changed different words
Ctrl+Alt+EnterPick / unpick the caret line of an input pane
Alt+F8Next change hidden by the ignore options
Ctrl+SSave the merge result
Ctrl+Z / Ctrl+YUndo / redo resolutions and edits
Shift+click Mine, Theirs, … or BaseApply to every remaining unresolved conflict (also in the Merge menu)
Click a line number in Mine, Theirs or BasePick that line into the output (inside a conflict)
Double-click a conflict in Mine or TheirsTake that side
Drag the bar above the outputResize the panes

Folder compare

Keys / mouseAction
F7 or Alt+↓ / Shift+F7Next / previous differing row (expands folders as needed)
↑ / ↓, Page Up / Page DownMove the selection
→ / ←Expand / collapse the folder
Enter or double-clickOpen the selected file pair in a new tab (folders expand or collapse)
Ctrl+double-clickOpen the pair in a new window
F3Peek pane: show the selected pair under the tree
Ctrl+FFilter the tree by name
Ctrl+Shift+→ / Ctrl+Shift+←Copy the selection to the right / left
F2Rename
Delete / Shift+DeleteDelete to the recycle bin / permanently (asks first)
Ctrl+ZUndo the last file operation
F5Scan both folders again

Hex compare

Keys / mouseAction
F7 or Alt+↓ / Shift+F7Next / previous differing range
Ctrl+GGo to offset (formats)
Ctrl+FFind bytes (DE AD ?? EF) or text
F3 / Shift+F3Next / previous match
Ctrl+Home / Ctrl+EndGo to the start / end
F5Reload both files
Click or drag in the overview stripJump to that part of the files

Table compare

KeysAction
F7 / Shift+F7Next / previous changed row
F8 / Shift+F8Next / previous changed cell

Every command is also in the menu bar. Hover a toolbar button to see its shortcut.