To intercact with with VSCode built-in terminal as your default macos based terminal:
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+ctrl+alt+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "cmd+ctrl+alt+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
}