Merge pull request #8389 from 01zulfi/common/update-keybindings

common: update keybindings for editor search, link, internal link, and command palette
This commit is contained in:
Abdullah Atta
2025-08-13 13:30:39 +05:00
committed by GitHub
2 changed files with 7 additions and 7 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 K | Ctrl K | ⌘ K |
| Command palette | Ctrl ⇧ P | Ctrl ⇧ P | ⌘ ⇧ P |
| Quick open | Ctrl P | Ctrl P | ⌘ P |
| New tab | - | Ctrl T | ⌘ T |
| Close active tab | - | Ctrl W | ⌘ W |
@@ -60,8 +60,8 @@ The following keyboard shortcuts will help you navigate Notesnook faster.
| Add image | Ctrl ⇧ I | Ctrl ⇧ I | ⌘ ⇧ I |
| Toggle italic | Ctrl I | Ctrl I | ⌘ I |
| Remove formatting in selection | Ctrl \ | Ctrl \ | ⌘ \ |
| Insert internal link | Ctrl ⇧ L | Ctrl ⇧ L | ⌘ ⇧ L |
| Insert link | Ctrl K | Ctrl K | ⌘ K |
| Insert internal link | Ctrl ⇧ K | Ctrl ⇧ K | ⌘ ⇧ K |
| Insert link | Ctrl K | Ctrl K | ⌘ K |
| Insert math block | Ctrl ⇧ M | Ctrl ⇧ M | ⌘ ⇧ M |
| Toggle ordered list | Ctrl ⇧ 7 | Ctrl ⇧ 7 | ⌘ ⇧ 7 |
| Toggle outline list | Ctrl ⇧ O | Ctrl ⇧ O | ⌘ ⇧ O |

View File

@@ -96,7 +96,7 @@ export const hotkeys = {
type: "hotkeys"
},
openCommandPalette: {
keys: normalizeKeys(["ctrl+k"]),
keys: normalizeKeys(["ctrl+shift+p"]),
description: "Command palette",
category: "Navigation",
type: "hotkeys"
@@ -294,13 +294,13 @@ export const tiptapKeys = {
type: "tiptap"
},
insertInternalLink: {
keys: "Mod-Shift-L",
keys: "Mod-Shift-K",
description: "Insert internal link",
category: "Editor",
type: "tiptap"
},
insertLink: {
keys: "Mod-Shift-K",
keys: "Mod-k",
description: "Insert link",
category: "Editor",
type: "tiptap"
@@ -330,7 +330,7 @@ export const tiptapKeys = {
type: "tiptap"
},
openSearch: {
keys: "Mod-F",
keys: "Mod-f",
description: "Open search",
category: "Editor",
type: "tiptap"