diff --git a/ftl/core/editing.ftl b/ftl/core/editing.ftl
index 19e59632e..594ae6ef8 100644
--- a/ftl/core/editing.ftl
+++ b/ftl/core/editing.ftl
@@ -2,14 +2,14 @@ editing-add-media = Add Media
editing-align-left = Align left
editing-align-right = Align right
editing-an-error-occurred-while-opening = An error occurred while opening { $val }
-editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
-editing-bold-text-ctrlandb = Bold text (Ctrl+B)
+editing-attach-picturesaudiovideo = Attach pictures/audio/video
+editing-bold-text = Bold text
editing-cards = Cards
editing-center = Center
-editing-change-colour-f8 = Change colour (F8)
-editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
+editing-change-color = Change color
+editing-cloze-deletion = Cloze deletion
editing-couldnt-record-audio-have-you-installed = Couldn't record audio. Have you installed 'lame'?
-editing-customize-card-templates-ctrlandl = Customize Card Templates (Ctrl+L)
+editing-customize-card-templates = Customize Card Templates
editing-customize-fields = Customize Fields
editing-cut = Cut
editing-edit-current = Edit Current
@@ -17,7 +17,7 @@ editing-edit-html = Edit HTML
editing-fields = Fields
editing-html-editor = HTML Editor
editing-indent = Increase indent
-editing-italic-text-ctrlandi = Italic text (Ctrl+I)
+editing-italic-text = Italic text
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
editing-justify = Justify
editing-latex = LaTeX
@@ -30,14 +30,29 @@ editing-media = Media
editing-ordered-list = Ordered list
editing-outdent = Decrease indent
editing-paste = Paste
-editing-record-audio-f5 = Record audio (F5)
-editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
-editing-set-foreground-colour-f7 = Set foreground colour (F7)
+editing-record-audio = Record audio
+editing-remove-formatting = Remove formatting
+editing-set-foreground-color = Set foreground color
editing-show-duplicates = Show Duplicates
-editing-subscript-ctrland = Subscript (Ctrl+=)
-editing-superscript-ctrlandand = Superscript (Ctrl++)
+editing-subscript = Subscript
+editing-superscript = Superscript
editing-tags = Tags
editing-to-make-a-cloze-deletion-on = To make a cloze deletion on an existing note, you need to change it to a cloze type first, via 'Notes>Change Note Type'
-editing-underline-text-ctrlandu = Underline text (Ctrl+U)
+editing-underline-text = Underline text
editing-unordered-list = Unordered list
editing-warning-cloze-deletions-will-not-work = Warning, cloze deletions will not work until you switch the type at the top to Cloze.
+
+## deprecated, do not use
+
+editing-bold-text-ctrlandb = Bold text (Ctrl+B)
+editing-italic-text-ctrlandi = Italic text (Ctrl+I)
+editing-underline-text-ctrlandu = Underline text (Ctrl+U)
+editing-subscript-ctrland = Subscript (Ctrl+=)
+editing-superscript-ctrlandand = Superscript (Ctrl++)
+editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
+editing-record-audio-f5 = Record audio (F5)
+editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
+editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
+editing-change-colour-f8 = Change colour (F8)
+editing-set-foreground-colour-f7 = Set foreground colour (F7)
+editing-customize-card-templates-ctrlandl = Customize Card Templates (Ctrl+L)
diff --git a/ftl/core/keyboard.ftl b/ftl/core/keyboard.ftl
new file mode 100644
index 000000000..b794276df
--- /dev/null
+++ b/ftl/core/keyboard.ftl
@@ -0,0 +1,2 @@
+keyboard-ctrl = Ctrl
+keyboard-shift = Shift
diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py
index 420653512..808cdf86c 100644
--- a/qt/aqt/editor.py
+++ b/qt/aqt/editor.py
@@ -311,26 +311,6 @@ $editorToolbar.addButtonGroup({{
def setupShortcuts(self) -> None:
# if a third element is provided, enable shortcut even when no field selected
cuts: List[Tuple] = [
- ("Ctrl+L", self.onCardLayout, True),
- ("Ctrl+B", self.toggleBold),
- ("Ctrl+I", self.toggleItalic),
- ("Ctrl+U", self.toggleUnderline),
- ("Ctrl++", self.toggleSuper),
- ("Ctrl+=", self.toggleSub),
- ("Ctrl+R", self.removeFormat),
- ("F7", self.onForeground),
- ("F8", self.onChangeCol),
- ("Ctrl+Shift+C", self.onCloze),
- ("Ctrl+Shift+Alt+C", self.onCloze),
- ("F3", self.onAddMedia),
- ("F5", self.onRecSound),
- ("Ctrl+T, T", self.insertLatex),
- ("Ctrl+T, E", self.insertLatexEqn),
- ("Ctrl+T, M", self.insertLatexMathEnv),
- ("Ctrl+M, M", self.insertMathjaxInline),
- ("Ctrl+M, E", self.insertMathjaxBlock),
- ("Ctrl+M, C", self.insertMathjaxChemistry),
- ("Ctrl+Shift+X", self.onHtmlEdit),
("Ctrl+Shift+T", self.onFocusTags, True),
]
gui_hooks.editor_did_init_shortcuts(cuts, self)
diff --git a/ts/editor-toolbar/ColorPicker.svelte b/ts/editor-toolbar/ColorPicker.svelte
index f491531c8..277b74eae 100644
--- a/ts/editor-toolbar/ColorPicker.svelte
+++ b/ts/editor-toolbar/ColorPicker.svelte
@@ -3,12 +3,16 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
diff --git a/ts/editor-toolbar/CommandIconButton.svelte b/ts/editor-toolbar/CommandIconButton.svelte
index b78025274..144dc8817 100644
--- a/ts/editor-toolbar/CommandIconButton.svelte
+++ b/ts/editor-toolbar/CommandIconButton.svelte
@@ -48,6 +48,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export let id: string;
export let className = "";
export let tooltip: string;
+ export let shortcutLabel: string | undefined;
export let icon: string;
export let command: string;
@@ -80,6 +81,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{id}
{className}
{tooltip}
+ {shortcutLabel}
{active}
{disables}
{dropdownToggle}
diff --git a/ts/editor-toolbar/DropdownItem.svelte b/ts/editor-toolbar/DropdownItem.svelte
index 21cce2d19..6ea252f92 100644
--- a/ts/editor-toolbar/DropdownItem.svelte
+++ b/ts/editor-toolbar/DropdownItem.svelte
@@ -3,18 +3,23 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->