From cfbc47d8937c2380a5b016772d745d7f5ab74f4b Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Thu, 4 Jun 2026 17:01:44 -0500 Subject: [PATCH] feat(desktop): open command palette with Cmd/Ctrl+P too Bind Cmd/Ctrl+P to the command palette alongside Cmd+K (VS Code quick-open muscle memory); Cmd+. stays the command center. No Print accelerator competes, so the renderer preventDefault is enough. --- apps/desktop/src/app/desktop-controller.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/app/desktop-controller.tsx b/apps/desktop/src/app/desktop-controller.tsx index b522b89639a..564924455c1 100644 --- a/apps/desktop/src/app/desktop-controller.tsx +++ b/apps/desktop/src/app/desktop-controller.tsx @@ -224,9 +224,9 @@ export function DesktopController() { } }, []) - // Global chrome shortcuts (plain Cmd/Ctrl, no alt/shift): Cmd+K → command - // palette (the composer's "drain next queued" moved to Cmd+Shift+K), Cmd+. → - // command center (sessions / system / usage). + // Global chrome shortcuts (plain Cmd/Ctrl, no alt/shift): Cmd+K / Cmd+P → + // command palette (the composer's "drain next queued" moved to Cmd+Shift+K), + // Cmd+. → command center (sessions / system / usage). useEffect(() => { const onKeyDown = (event: KeyboardEvent) => { if (!(event.metaKey || event.ctrlKey) || event.altKey || event.shiftKey) { @@ -235,7 +235,7 @@ export function DesktopController() { const key = event.key.toLowerCase() - if (key === 'k') { + if (key === 'k' || key === 'p') { event.preventDefault() toggleCommandPalette() } else if (key === '.') {