Reputation: 5123
There are shortcuts to decrease or increase editor panel width, so there must be ones for doing the same to the terminal
Upvotes: 1
Views: 3486
Reputation: 1
just in case someone is still interested
drop it in your keybindings.json
and resize terminal window (or pane or whatever the hell it is called in context of vscode) with alt+h/j/k/l (vim-stylish arrows):
{
"key": "alt+h",
"command": "workbench.action.terminal.resizePaneLeft"
},
{
"key": "alt+l",
"command": "workbench.action.terminal.resizePaneRight"
},
{
"key": "alt+j",
"command": "workbench.action.terminal.resizePaneDown"
},
{
"key": "alt+k",
"command": "workbench.action.terminal.resizePaneUp"
}
Upvotes: 0
Reputation: 1425
Not a stricktly the answer for width, but for heights - With focus on the terminal, Ctrl + Cmd + up /down
worked on macOS.
Upvotes: 0
Reputation: 1
By default, you have ctrl+shift+left
and ctrl+shift+right
to widen and reduce your terminal, if your terminal is on the side and not at the bottom of your editor.
Upvotes: 0
Reputation: 131
Just in VS code go to Keyboard shortcuts and find "Resize Terminal Down/Up/Left/Right" and make custom keybinding as you like. In my case there were no default values.
Upvotes: 3