Merge pull request #9069 from streetwriters/common/command-palette-web-keybinding

common: add ctrl+shift+: web keybinding for command palette
This commit is contained in:
Abdullah Atta
2025-12-18 11:56:06 +05:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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 ⇧ P | ⌘ ⇧ P |
| Command palette | Ctrl ⇧ P / Ctrl ⇧ : | Ctrl ⇧ P | ⌘ ⇧ P |
| Quick open | Ctrl P | Ctrl P | ⌘ P |
| New tab | - | Ctrl T | ⌘ T |
| Close active tab | - | Ctrl W | ⌘ W |

View File

@@ -96,7 +96,10 @@ export const hotkeys = {
type: "hotkeys"
},
openCommandPalette: {
keys: normalizeKeys(["ctrl+shift+p"]),
keys: normalizeKeys({
desktop: ["ctrl+shift+p"],
web: ["ctrl+shift+p", "ctrl+shift+:"]
}),
description: "Command palette",
category: "Navigation",
type: "hotkeys"