#502 - Keyboard bindings added

This commit is contained in:
Elio Struyf
2023-02-05 14:31:25 +01:00
parent 8a4b24396c
commit 38839470ac
2 changed files with 20 additions and 1 deletions
+2
View File
@@ -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
+18 -1
View File
@@ -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": [
{