Closed cssinate closed 11 months ago
I've just seen https://github.com/fabiospampinato/vscode-terminals/issues/30 - is this considered a duplicate? They're certainly related.
Nevermind. My understanding of the syntax was incorrect. This works:
{
"command": "runCommands",
"key": "someKeyBinding",
"args": {
"commands": [
{
"command": "terminals.runTerminalByName",
"args": "First Term"
},
{
"command": "terminals.runTerminalByName",
"args": "Second Term"
}
]
}
}
As an alternative to https://github.com/fabiospampinato/vscode-terminals/issues/12 - I might be mistaken here, but if you added the
terminals.runTerminalByName
command tocontext.subscriptions
then users could do something inkeybindings.json
like: