Add textCheckbox to command shortcuts

Hi All,

I'd like to propose adding textCheckbox to defaultKeymapItems so we can access it via keyboard shortcut in Markdown mode.

Any thoughts on something like:

diff --git a/packages/lib/services/KeymapService.ts b/packages/lib/services/KeymapService.ts
index 0c52556e1..06dd15998 100644
--- a/packages/lib/services/KeymapService.ts
+++ b/packages/lib/services/KeymapService.ts
@@ -29,6 +29,7 @@ const defaultKeymapItems = {
                { accelerator: 'Cmd+K', command: 'textLink' },
                { accelerator: 'Cmd+`', command: 'textCode' },
                { accelerator: 'Option+Cmd+-', command: 'textBulletedList' },
+               { accelerator: 'Option+Cmd+[', command: 'textCheckbox' },
                { accelerator: 'Shift+Cmd+T', command: 'insertDateTime' },
                { accelerator: 'Shift+Cmd+F', command: 'focusSearch' },
                { accelerator: 'Cmd+F', command: 'showLocalSearch' },
@@ -73,6 +74,7 @@ const defaultKeymapItems = {
                { accelerator: 'Ctrl+K', command: 'textLink' },
                { accelerator: 'Ctrl+`', command: 'textCode' },
                { accelerator: 'Ctrl+Alt+-', command: 'textBulletedList' },
+               { accelerator: 'Ctrl+Alt+[', command: 'textCheckbox' },
                { accelerator: 'Ctrl+Shift+T', command: 'insertDateTime' },
                { accelerator: 'F6', command: 'focusSearch' },
                { accelerator: 'Ctrl+F', command: 'showLocalSearch' },

Thanks

2 Likes