Open fredysan opened 3 years ago
It appears the keybinds you have mentioned are custom.
cntrl+'
works to show and hide the terminal when you have "vim.useCtrlKeys": true
, active in your config.
However, there is an easy way to implement this feature in VSCode.
Open keybindings.json
or ctnrl+shift+p
then search for keyboard shortcuts
You can enter in the following to minic your keybinings above
{
"key": "shift+\\",
"command":"workbench.action.terminal.toggleTerminal",
"when":"terminal.actve && vim.mode=='Normal'"
},
{
"key": "ctrl+alt+<",
"command":"workbench.action.terminal.toggleTerminal",
"when":"!terminal.actve && vim.mode=='Normal'"
}
Neither keyword shortcuts
Shit + \
Ctrl + Alt + <
hide or show the terminal window