Add the current open file into the terminal. { "key": "cmd+shift+t", "command": "workbench.action.terminal.sendSequence", "args": { "text": "${relativeFile}" }, "when": "terminalFocus" } This is useful to quickly test a single file.