Open Chat with Cmd+K as well as Ctrl+K

Cmd is the natural modifier on a Mac. Like Option+K, it also opens Chat
from the terminal, where Ctrl+K stays kill-line.
This commit is contained in:
2026-11-13 16:02:31 +00:00
parent ccc80a9a8d
commit c3c2c1bbc9
5 changed files with 75 additions and 48 deletions
@@ -97,7 +97,7 @@ class KeyboardShortcutRegistry {
keys: shellChatShortcutLabels(platform).join(', '),
caveat: web
? 'Shows the open chat and focuses its message input. The browser may reserve Ctrl+K.'
: 'Shows the open chat and focuses its message input. In the terminal Ctrl+K stays kill-line; Alt+K still opens Chat.',
: 'Shows the open chat and focuses its message input. In the terminal Ctrl+K stays kill-line; ${_apple ? 'Option+K and Cmd+K still open' : 'Alt+K still opens'} Chat.',
),
const KeyboardShortcutEntry(
group: KeyboardShortcutGroup.navigation,