diff --git a/CHANGELOG.md b/CHANGELOG.md index 127aa216..056e985e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ - [#484](https://github.com/estruyf/vscode-front-matter/issues/484): Support for overriding scripts per environment type - [#494](https://github.com/estruyf/vscode-front-matter/issues/494): Support for external image URLs in previews - [#497](https://github.com/estruyf/vscode-front-matter/issues/497): Support for movie media previews in the content dashboard +- [#502](https://github.com/estruyf/vscode-front-matter/issues/502): Keyboard bindings added to open dashboard, insert media, and insert snippet +- [#503](https://github.com/estruyf/vscode-front-matter/issues/503): Allow making changes to the preview URL in the webview ### ⚡️ Optimizations diff --git a/package.json b/package.json index bfbbd7c2..c27d5cf3 100644 --- a/package.json +++ b/package.json @@ -51,11 +51,28 @@ "activationEvents": [ "workspaceContains:**/.frontmatter", "workspaceContains:**/frontmatter.json", - "onView:frontMatter.explorer", "onStartupFinished" ], "main": "./dist/extension.js", "contributes": { + "keybindings": [ + { + "command": "frontMatter.dashboard", + "key": "alt+d" + }, + { + "command": "frontMatter.insertMedia", + "key": "ctrl+shift+i", + "mac": "cmd+shift+i", + "when": "editorTextFocus" + }, + { + "command": "frontMatter.insertSnippet", + "key": "ctrl+shift+v", + "mac": "cmd+shift+v", + "when": "editorTextFocus" + } + ], "viewsContainers": { "activitybar": [ {