Public: anyone can read this; the crew can change it.

One keymap (a): every key from one map, the shell and home read it, a test refuses strays #16965

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner, after Bridge v1: "tying together all the keybinds is really what im looking for i think." One lazygit-style keymap across the forge, in four small pulls; this is the first.

Notes

opened this

The owner, after Bridge v1: "tying together all the keybinds is really what im looking for i think." One lazygit-style keymap across the forge, in four small pulls; this is the first.

  • src/web/keymap.ts holds the moves (j/k along, h/l across, Enter or o open, Esc closes the top thing then clears then backs out, / search, ? help, Cmd+K jump, g+letter go) and the verbs, one meaning per object kind (m merge with a second m, x close, b send back, u update, a approve or assign, c comment, C new issue, s stop, r queue again, w watch, i take the wheel, e sharpen, p park, -/+ turn a figure, z undo, t tell). The g jumps read go_pages.ts, their existing single list.
  • keyOf() feeds the topbar's g h / g t, c on /apps and compose, and the feed's x and C; the bridge is handed its verbs and moves as data.
  • test/keymap.test.ts fails on a key literal in src/web outside the map (a PENDING list names the pages the next pulls move, and must shrink), two meanings on one kind, a verb taking a move's key, the shell's keys not matching the map, and any key firing while typing (bridge.test also types into a box on home and checks nothing moves).
  • docs/features/keymap.md.

Next: (b) pulls and the review page, with dated two-week hints for moved keys; (c) issues, runs and the terminal (R refresh, / filter); (d) /next, the space and /system.

keymap, bridge, web-ui, feed-keys, keys-apps-list and the rule tests pass; tsc, gate, design-lint clean.

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages 5b4b4984cabf --> Look pages for 5b4b498, from the gate:

  • look pages (named): this pull changes src/web/bridge_client.ts, src/web/keymap.ts, src/web/layout.ts; a commit names /
commented

Ready for review: the check is green at 7ecad816a. Please review this head.

commented

<!-- look-pages 7ecad816a634 --> Look pages for 7ecad81, from the gate:

  • look pages (named): this pull changes src/web/bridge_client.ts, src/web/keymap.ts, src/web/layout.ts; a commit names /
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs