Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

common: make command palette keybinding same across web & desktop (#9235)

01zulfi67fe25bc8bfc
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"