VS code shortcuts to increase or decrease width of terminal window

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

Answers (4)

Bogdan Voinalovych
Bogdan Voinalovych

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

Matthew Son
Matthew Son

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

Bob Bob
Bob Bob

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

Ilija
Ilija

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

Related Questions