Make the panes one interaction model, with ctrl+\ as their prefix

Focus moves through what's open in one order: conversation, message editor,
drawer, column. ctrl+\ is a prefix wherever the keys are: ctrl+\ again
toggles, tab and shift+tab step, j/l/k focus the drawer, column or
conversation, 1-9 pick a tab in the focused strip, x closes (a terminal
after asking, Neovim by asking it to quit), z zooms the focused pane over
the conversation, n opens a terminal. alt+1-9 and { } are gone.

The focused pane's strip and edge light up and the rest go quiet; the hint
bar names where the keys are. In side placement the column has one strip of
tabs, Details, each editor and each terminal. Each file gets its own editor
tab, or goes to the running Neovim. Tabs close with their ✕ or a middle
click. A strip under the message box names terminals running out of sight,
and the editors in a hidden column. Terminal and pane commands in the
palette share a prefix, and the palette covers the conversation area.
This commit is contained in:
Callum Alpass committed 2026-11-03 20:53:31 +11:00
1 parent 56ee5364fa
commit 9e4558d7d1
8 files changed
+929 -308

No files matched your search

+3 -3
View File
@@ -70,11 +70,11 @@ describe("links and paths in replies", () => {
const app = await open({ width: 200, session: fakeSession({ snapshot, projection: withReply("I changed `src/a.ts:3` and left src/missing.ts alone.", false) }) });
const missing = app.find("missing.ts");
await app.click(missing.x, missing.y);
expect(app.frame()).not.toContain("Editing");
expect(app.frame()).not.toContain("Details ");
const path = app.find("a.ts:3");
await app.click(path.x, path.y);
expect(app.frame()).toContain("Details Editor");
expect(app.frame()).toContain("Editing src/a.ts ");
expect(app.frame()).toContain("Details src/a.ts ✕");
expect(app.hints()).toStartWith("keys: a.ts");
});
test("a drag over a link selects it rather than opening it", async () => {