- shortcuts[`${metaKey}-1`] = cm => editor.actions.replaceLineStart('##');
- shortcuts[`${metaKey}-2`] = cm => editor.actions.replaceLineStart('###');
- shortcuts[`${metaKey}-3`] = cm => editor.actions.replaceLineStart('####');
- shortcuts[`${metaKey}-4`] = cm => editor.actions.replaceLineStart('#####');
- shortcuts[`${metaKey}-5`] = cm => editor.actions.replaceLineStart('');
- shortcuts[`${metaKey}-D`] = cm => editor.actions.replaceLineStart('');
- shortcuts[`${metaKey}-6`] = cm => editor.actions.replaceLineStart('>');
- shortcuts[`${metaKey}-Q`] = cm => editor.actions.replaceLineStart('>');
- shortcuts[`${metaKey}-7`] = cm => editor.actions.wrapSelection('\n```\n', '\n```');
- shortcuts[`${metaKey}-8`] = cm => editor.actions.wrapSelection('`', '`');
- shortcuts[`Shift-${metaKey}-E`] = cm => editor.actions.wrapSelection('`', '`');
- shortcuts[`${metaKey}-9`] = cm => editor.actions.cycleCalloutTypeAtSelection();
- shortcuts[`${metaKey}-P`] = cm => editor.actions.replaceLineStart('-')
- shortcuts[`${metaKey}-O`] = cm => editor.actions.replaceLineStartForOrderedList()
+ shortcuts['Mod-1'] = cm => editor.actions.replaceLineStart('##');
+ shortcuts['Mod-2'] = cm => editor.actions.replaceLineStart('###');
+ shortcuts['Mod-3'] = cm => editor.actions.replaceLineStart('####');
+ shortcuts['Mod-4'] = cm => editor.actions.replaceLineStart('#####');
+ shortcuts['Mod-5'] = cm => editor.actions.replaceLineStart('');
+ shortcuts['Mod-d'] = cm => editor.actions.replaceLineStart('');
+ shortcuts['Mod-6'] = cm => editor.actions.replaceLineStart('>');
+ shortcuts['Mod-q'] = cm => editor.actions.replaceLineStart('>');
+ shortcuts['Mod-7'] = cm => editor.actions.wrapSelection('\n```\n', '\n```');
+ shortcuts['Mod-8'] = cm => editor.actions.wrapSelection('`', '`');
+ shortcuts['Shift-Mod-e'] = cm => editor.actions.wrapSelection('`', '`');
+ shortcuts['Mod-9'] = cm => editor.actions.cycleCalloutTypeAtSelection();
+ shortcuts['Mod-p'] = cm => editor.actions.replaceLineStart('-')
+ shortcuts['Mod-o'] = cm => editor.actions.replaceLineStartForOrderedList()