4 ms·
Author of the blog post here. The standard shortcuts are ctrl+` for toggling the panel and ctrl+shift+` for creating a new terminal. This is what I use on top o
by Tyriar 9y ago
Author of the blog post here. The standard shortcuts are ctrl+` for toggling the panel and ctrl+shift+` for creating a new terminal. This is what I use on top of that:
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus", "when": "!terminalFocus" }
This will focus the terminal if the focus is anywhere else, if the terminal is focused it will close it.
You can add this one if you want ctrl+` to only toggle focus between the terminal and the last editor:
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus" }
On tmux, Joao from the team did a write up on configuring persistent sessions in the terminal using tmux https://medium.com/@joaomoreno/persistent-terminal-sessions-in-vs-code-8fc469ed6b41 https://medium.com/@joaomoreno/persistent-terminal-sessions-...
- lobster_johnson 9y agoLast I checked, this only makes sense on US keyboards. On most non-US keyboards, the backtick requires option/alt and isn't practical as a shortcut.
- anontrot 9y agoI think you could just add a custom keybinding now that you know the commands.