toggling between views made possible

This commit is contained in:
2026-11-09 14:01:49 +01:00
parent cc6651c08a
commit 2887965a9e
18 changed files with 149 additions and 17 deletions
+4 -1
View File
@@ -35,7 +35,7 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
- Click **Diff** in the [file view](file-view.md) bar. The button shows only on a file with git changes.
- Right-click a marked (teal) line in the file view and choose **Show diff**. The Diff opens centred on that line.
- Show diff on a marked line always compares the last commit with the file on disk.
- The [Git](git.md) view has its own inline diff per file row. **Open in editor** on a row opens the file; click **Diff** there for the full-screen view.
- In the [Git](git.md) view, right-click a file row and choose **Open diff**. The view closes and the file opens in the Diff.
### Layout
- The Diff covers all columns. The window's shortcuts still work over it.
@@ -74,6 +74,7 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
### Close the Diff
- Press `Esc` or click **Collapse**.
- `Esc` closes the innermost layer first: the menu, then the prompt, then the Diff.
- `Cmd+G` or `Cmd+D` closes the Diff and opens the [Git](git.md) or [Schema](schema.md) view. `Cmd+F` replaces the Diff with [Search](search.md).
- You return to the view you came from, with the keyboard back in the code.
## Keyboard
@@ -81,6 +82,8 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
| Keys | Action |
|---|---|
| `Esc` | Close the menu, the prompt, or the Diff |
| `Cmd+G` / `Cmd+D` | Close the Diff and open the Git / Schema view |
| `Cmd+F` | Close the Diff and open Search |
| `Cmd+C` | Copy the selected lines |
| `Cmd+A` | Select all lines of one side |
| `Up` / `Down` / `Enter` | Move through and choose in the right-click menu |