From 67fe25bc8bfcad4480b0a94b7b7a9cc224e0632f Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Sat, 17 Jan 2026 21:18:52 +0500 Subject: [PATCH] common: make command palette keybinding same across web & desktop (#9235) Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> --- docs/help/contents/keyboard-shortcuts.md | 2 +- packages/common/src/utils/keybindings.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/help/contents/keyboard-shortcuts.md b/docs/help/contents/keyboard-shortcuts.md index fba5f8002..9a5a85818 100644 --- a/docs/help/contents/keyboard-shortcuts.md +++ b/docs/help/contents/keyboard-shortcuts.md @@ -22,7 +22,7 @@ The following keyboard shortcuts will help you navigate Notesnook faster. | --- | --- | --- | --- | | Next tab | Ctrl Alt → / Ctrl Alt ⇧ → | Ctrl tab | ⌘ tab | | Previous tab | Ctrl Alt ← / Ctrl Alt ⇧ ← | Ctrl ⇧ tab | ⌘ ⇧ tab | -| Command palette | Ctrl ⇧ P / Ctrl ⇧ : | Ctrl ⇧ P | ⌘ ⇧ P | +| Command palette | Ctrl ⇧ P / Ctrl ⇧ : | Ctrl ⇧ P / Ctrl ⇧ : | ⌘ ⇧ P / ⌘ ⇧ : | | Quick open | Ctrl P | Ctrl P | ⌘ P | | New tab | - | Ctrl T | ⌘ T | | Close active tab | - | Ctrl W | ⌘ W | diff --git a/packages/common/src/utils/keybindings.ts b/packages/common/src/utils/keybindings.ts index 83461507c..73c1296a7 100644 --- a/packages/common/src/utils/keybindings.ts +++ b/packages/common/src/utils/keybindings.ts @@ -96,10 +96,7 @@ export const hotkeys = { type: "hotkeys" }, openCommandPalette: { - keys: normalizeKeys({ - desktop: ["ctrl+shift+p"], - web: ["ctrl+shift+p", "ctrl+shift+:"] - }), + keys: normalizeKeys(["ctrl+shift+p", "ctrl+shift+:"]), description: "Command palette", category: "Navigation", type: "hotkeys"