Rebind chat file and center-stage shortcuts

Give Cmd/Ctrl+E to the active chat Files panel while preserving terminal behavior, and move Center Stage to the shifted chord. Update shortcut documentation and regression coverage for the new bindings.
This commit is contained in:
2026-11-12 19:52:39 +00:00
parent 19b1d1326a
commit 3029295b1f
15 changed files with 382 additions and 52 deletions
+22
View File
@@ -0,0 +1,22 @@
# Ctrl+E Files and Center Stage shortcuts
Implemented the chat shortcut rebind:
- Cmd+E on Apple platforms, or Ctrl+E elsewhere, routes to the active chat's
Files toggle; terminal typing surfaces keep Ctrl+E.
- Ctrl+Shift+E / Cmd+Shift+E toggles Center Stage; Alt+E / Option+E remains a
Center Stage shortcut.
- The same Files command is handled by focused floating chat windows.
- Opening Files autofocuses its filter field, and the registry lists both
shortcuts with platform-specific labels.
Focused verification:
`tool/memwatch/full.sh 'test/features/chat/workspace/chat_center_stage_test.dart test/features/settings/keyboard_shortcuts_cheatsheet_test.dart test/features/chat/chat_split_integration_test.dart test/features/chat/chat_floating_pane_test.dart test/shell/detail_page_close_test.dart'` — 62 passed.
`tool/analyze.sh`: clean.
The retry also corrected physical-key matching for both chords, leaves the
Files shortcut available from an editable composer while preserving terminal
Ctrl+E, restores composer focus after closing Files, and prevents the tiled
handler from intercepting a focused floating chat's Files command.