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
View File
@@ -51,6 +51,7 @@ Helder is built to run from the keyboard. Press `?` to see a short list of the m
- A text field, the code, or a terminal keeps the keys it needs. Arrows, `Return`, `?`, `Cmd+A` and `Cmd+C` with a selection go to the field, not to Helder.
- Keys with `Ctrl` or `Opt` always go to the field or terminal, except the menu shortcuts that use them.
- While an overlay is open, it owns the keys. `Esc` closes it. The Diff is the exception: the workspace shortcuts keep working over it.
- Search, the Git view, the Schema view and the Diff switch to each other: `Cmd+G` / `Cmd+D` from Search or the Diff close it and open the view (Search only closes when the view is already under it). `Cmd+F` opens Search above the Git or Schema view, and in place of the Diff.
- `Esc` closes the topmost layer: a right-click menu, a dialog, search or the Diff first, then the [Schema](schema.md) view's selection, its search text and the view itself, or the [Git](git.md) view. With none of those open, `Esc` goes to the terminal.
- While the Git or Schema view is open, the column keys rest: arrows, `Return` and `Cmd+Left` / `Cmd+Right` do nothing in the columns under it.
@@ -156,6 +157,8 @@ See [Diff view](file-view-diff.md).
| Keys | Action |
|---|---|
| `Esc` | Close the menu, then the pass-on prompt, then the Diff itself |
| `Cmd+G` / `Cmd+D` | Close the Diff and open the Git / Schema view |
| `Cmd+F` | Close the Diff and open search |
| `Cmd+A` | Select all lines on one side |
| `Cmd+C` | Copy the selected lines |
| `Up` / `Down`, `Return` | Move through and choose in the Diff's right-click menu |
@@ -178,6 +181,7 @@ See [Search](search.md).
| `Cmd+Left` / `Cmd+Right` | Move to the column on the left or right |
| `Up` / `Down`, `Cmd+Up` / `Cmd+Down` | Move through the results in a column |
| `Return` | Open the selected result |
| `Cmd+G` / `Cmd+D` | Close search and open the Git / Schema view |
| `Esc` | Close search |
### Clean copy