Here the solution I built works well for me on OSX.
It simulates the same shortcuts that are used in the editor to open new files (cmd + n) and switch between tabs (cmd + left | right) and the same shortcuts for terminals when this view is in focus.
Press cmd+shift+p and type keyboard to find Preferences: Open Keyboard Shortcuts File
Add the following to the keybindings.json file and save it.
{ "key": "cmd+alt+right", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus" }, { "key": "cmd+alt+left", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus" }, { "key": "cmd+n", "command": "workbench.action.terminal.new", "when": "terminalFocus" }, { "key": "cmd+w", "command": "workbench.action.terminal.kill", "when": "terminalFocus" }
It also does the same for closing terminals (cmd + w)
source share