Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
remove standard markdown commands keybindings and add showPreviewToSi…
Browse files Browse the repository at this point in the history
…de to the editor title context menu for emd docs (#9 and #29)
  • Loading branch information
RandomFractals committed May 30, 2023
1 parent c305e49 commit 4039c29
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,12 @@
},
{
"command": "markdown.showPreview",
"when": "resourceLangId == emd",
"when": "!notebookEditorFocused && resourceLangId == emd",
"group": "navigation"
},
{
"command": "markdown.showPreviewToSide",
"when": "!notebookEditorFocused && resourceLangId == emd",
"group": "navigation"
}
]
Expand Down Expand Up @@ -226,20 +231,6 @@
"language": "javascript",
"path": "./snippets/js.code-snippets"
}
],
"keybindings": [
{
"command": "markdown.showPreview",
"key": "shift+ctrl+v",
"mac": "shift+cmd+v",
"when": "!notebookEditorFocused && editorLangId == 'emd'"
},
{
"command": "markdown.showPreviewToSide",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "!notebookEditorFocused && editorLangId == 'emd'"
}
]
},
"scripts": {
Expand Down

0 comments on commit 4039c29

Please sign in to comment.