Last active
January 16, 2022 05:43
-
-
Save atinux/bd45311e54e39b6a82dcf53b0e1af6ca to your computer and use it in GitHub Desktop.
VS Code Terminal Shortcuts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+shift+n", | |
"command": "workbench.action.terminal.new" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "workbench.action.terminal.focusNext" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "workbench.action.terminal.focusPrevious" | |
}, | |
{ | |
"key": "ctrl+shift+backspace", | |
"command": "workbench.action.terminal.kill" | |
} | |
] |
I'm using
{
"key": "f2",
"command": "workbench.action.terminal.new"
},
{
"key": "f2",
"command": "workbench.action.terminal.toggleTerminal"
},
Thanks! I've used this to improve my setup:
/**
* Terminal Split Panel
**/
{
"key": "alt+n",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+h",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "alt+shift+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "alt+shift+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "alt+shift+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
I replace ctrl
by alt
since i'm using the alt key for terminal relative shortcuts :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CMD + Shift + P
-> Open Keyboard Shortcuts (JSON)