diff --git a/web/editor.tsx b/web/editor.tsx index e214c93..e60b6af 100644 --- a/web/editor.tsx +++ b/web/editor.tsx @@ -714,6 +714,17 @@ export class Editor { return true; }, }, + { + key: "Ctrl-.", + mac: "Cmd-.", + run: (): boolean => { + this.viewDispatch({ + type: "show-palette", + context: this.getContext(), + }); + return true; + }, + }, ]), EditorView.domEventHandlers({ // This may result in duplicated touch events on mobile devices diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md index 005c42b..7ec52e5 100644 --- a/website/CHANGELOG.md +++ b/website/CHANGELOG.md @@ -3,6 +3,13 @@ release. --- +## Next + +* Added `Cmd-.` (Mac) and `Ctrl-.` (Linux/Windows) as an additional keyboard shortcut (to `Cmd-/`, `Ctrl-/`) for launching the command palette. +* Improvements to dark mode by [Max Richter](https://github.com/silverbulletmd/silverbullet/pull/396) + +--- + ## 0.2.13 * Support for multiple `order by` clauses in [[🔌 Directive/Query]] by [Siddhant Sanyam](https://github.com/silverbulletmd/silverbullet/pull/387)