Skip to content

Instantly share code, notes, and snippets.

@nitishparkar
Created September 12, 2020 18:59
Show Gist options
  • Save nitishparkar/b04ea24f7ecbcc6eaf0ae346de28045c to your computer and use it in GitHub Desktop.
Save nitishparkar/b04ea24f7ecbcc6eaf0ae346de28045c to your computer and use it in GitHub Desktop.
VSCode: Run different commands for the same shortcut key depending on language
[
{
"key": "ctrl+t",
"command": "go.test.cursor",
"when": "editorLangId == go"
},
{
"key": "ctrl+t",
"command": "extension.runSpecLine",
"when": "editorLangId == ruby"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment