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 -3
View File
@@ -46,6 +46,7 @@ The Git view is a full-screen page for everything git: it lists every changed fi
### Open and close the view
- `Cmd+G`, the **Git** toggle in the [Title bar](title-bar.md), or View > Show Git opens it. The toggle reads `Git N`, where N counts the changed files.
- From [Search](search.md) or the [Diff](file-view-diff.md), `Cmd+G` closes it and opens the view. If the view is already open under Search, `Cmd+G` only closes Search.
- The view covers the whole window: title bar, columns and status bar. The columns stay as they were under it. Terminals keep running.
- When it opens, the keyboard goes to the commit message.
- `Cmd+C` with no text selected, outside a terminal, also opens the view on the commit message.
@@ -98,10 +99,10 @@ Staged rows carry an amber bar on their left edge. A conflicted row carries a re
- Removed lines have an amber tint, added lines a teal tint. In a changed line pair, the part that differs is highlighted.
- Each change keeps 3 unchanged lines around it. Longer unchanged runs fold into `⋯ N unchanged lines`.
- A file over 1 MB shows `Too big.`. A file with no text changes shows `— No line changes.`.
- For the full-screen comparison, open the file and use the [Diff](file-view-diff.md).
- For the full-screen comparison, right-click the row and choose **Open diff**, or open the file and use the [Diff](file-view-diff.md).
### Right-click a row
Right-click a file row for **Open in editor**, **Pass on reference** and **Copy reference**. See the [right-click menu](right-click-menu.md#git-rows). Open in editor and Pass on reference close the view first.
Right-click a file row for **Open in editor**, **Open diff**, **Pass on reference** and **Copy reference**. See the [right-click menu](right-click-menu.md#git-rows). Open in editor, Open diff and Pass on reference close the view first.
### Pull and push
- **Pull** runs `git pull --no-rebase`. When your branch and origin both have new commits, git merges them.
@@ -150,7 +151,7 @@ You do not need to refresh by hand. The list updates by itself:
| Keys | Action |
|---|---|
| `Cmd+G` | Open or close the Git view |
| `Cmd+G` | Open or close the Git view; from Search or the Diff, close it and open the view |
| `Esc` | Close the Git view (after any dialog, menu, search or Diff on top of it) |
| `Cmd+C` | Open the view on the commit message (no text selected, not in a terminal) |
| `Cmd+Enter` | Commit, while the view is open (not from the console input) |