diff --git a/apps/web/src/dialogs/command-palette/commands.ts b/apps/web/src/dialogs/command-palette/commands.ts index 3bf215cd4..10ca9f42b 100644 --- a/apps/web/src/dialogs/command-palette/commands.ts +++ b/apps/web/src/dialogs/command-palette/commands.ts @@ -50,6 +50,7 @@ import { notebookMenuItems } from "../../components/notebook"; import { tagMenuItems } from "../../components/tag"; import { useEditorManager } from "../../components/editor/manager"; import Config from "../../utils/config"; +import { KeyboardShortcutsDialog } from "../keyboard-shortcuts-dialog"; export interface BaseCommand { id: string; @@ -181,6 +182,14 @@ const staticCommands: Command[] = [ group: strings.navigate(), type: "command" }, + { + id: "keyboard-shortcuts", + title: "Keyboard shortcuts", + icon: ArrowTopRight, + action: () => KeyboardShortcutsDialog.show({}), + group: strings.navigate(), + type: "command" + }, { id: "attachment-manager", title: strings.attachmentManager(),