{
"key": "ctrl+s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.terminal.sendSequence",
"workbench.action.files.save"
],
"text": "r"
},
"when": "editorTextFocus && !editorReadonly"
}
here's the code in keybindings.json of vscode, but it is not working as expected! Just saving the file and not sending "r" to the terminal
I tried everything and I just want it to do both
- save the file
- send r to terminal