Skip to content

Commit

Permalink
[VS Code] Add ⌥⌘V to force pasting a link as plain text in Markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Sep 21, 2023
1 parent 6ba89bb commit 58ac804
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,41 @@
{
"key": "shift+cmd+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+cmd+m",
"command": "extension.toggleCase",
"when": "editorHasSelection"
},
{
"key": "cmd+m",
"command": "-extension.toggleCase",
"when": "editorHasSelection"
},
{
"key": "shift+cmd+v",
"command": "-notebook.cell.pasteAbove",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+cmd+v",
"command": "-markdown.showPreview",
"when": "!notebookEditorFocused && editorLangId == 'markdown'"
},
{
"key": "shift+cmd+v",
"command": "editor.action.pasteAs",
"args": {
"id": "text"
},
"when": "editorLangId == 'markdown'"
},
{
"key": "shift+v",
"command": "editor.action.pasteAs",
"args": {
"id": "text"
},
"when": "!editorHasSelection && editorLangId == 'markdown'"
}
]

0 comments on commit 58ac804

Please sign in to comment.