From 34fd039b6cd3f083eb9cf8f6f567a4b834131ce6 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 13 Sep 2022 00:30:15 +0100 Subject: [PATCH] Add 'Open command menu' to keyboard shortcuts --- app/scenes/KeyboardShortcuts.tsx | 8 ++++++++ shared/i18n/locales/en_US/translation.json | 1 + 2 files changed, 9 insertions(+) diff --git a/app/scenes/KeyboardShortcuts.tsx b/app/scenes/KeyboardShortcuts.tsx index db9219b3e..248fd8030 100644 --- a/app/scenes/KeyboardShortcuts.tsx +++ b/app/scenes/KeyboardShortcuts.tsx @@ -14,6 +14,14 @@ function KeyboardShortcuts() { { title: t("Navigation"), items: [ + { + shortcut: ( + <> + {metaDisplay} + k + + ), + label: t("Open command menu"), + }, { shortcut: n, label: t("New document"), diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index b9be27c83..a1f2061ee 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -503,6 +503,7 @@ "Add another": "Add another", "Inviting": "Inviting", "Send Invites": "Send Invites", + "Open command menu": "Open command menu", "Edit current document": "Edit current document", "Move current document": "Move current document", "Open document history": "Open document history",