Skip to content

Instantly share code, notes, and snippets.

@ananth-iyer
Last active June 12, 2024 05:44
Show Gist options
  • Save ananth-iyer/8b840e23ac139cd08cb050c0ad220298 to your computer and use it in GitHub Desktop.
Save ananth-iyer/8b840e23ac139cd08cb050c0ad220298 to your computer and use it in GitHub Desktop.
VS Code Keyword bindings for Terminal
/* Place your key bindings in this file to override the defaultsauto[] */
[
{
"key": "ctrl+tab",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"when": "terminalFocus",
"key": "ctrl+l",
"command": "workbench.action.terminal.clear"
},
{
"when": "terminalFocus",
"key": "ctrl+w",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment