Skip to main content

Opening one

A diff docks beside the terminal, in the same column an open file uses, so the pane you were reading stays on screen. Esc closes it, and its header right-clicks to a menu that fills the window with it if you prefer that — more about the column →
The tty7 diff overlay

Placeholder — screenshot: the diff overlay, side-by-side, several files

Side-by-side or unified

Toggle Unified / Side-by-Side Diff in the command palette switches between the two. The choice is global — one setting for every diff, the same call VS Code’s diffEditor.renderSideBySide makes — and persists as diff_view in config.json.

What it shows

  • Every changed file, with its status and +N −M
  • Untracked files as a preview of their contents, up to 4 MB — past that the card says the read failed rather than showing a silently cut-off file
  • A commit’s files, when the diff came from the history
Two limits keep a huge diff from becoming a huge wait: Both are stated in the overlay when they apply — nothing is dropped silently.

Turning the sidebar shortcut off

If you would rather the sidebar’s counts not be clickable, turn off Settings → Window & Tabs → Open diff preview from sidebar counts (sidebar_diff_preview: false). The branch and counts stay on the row; they just stop opening the overlay.