Skip to content

Commit

Permalink
Merge pull request #1414 from Microsoft/tyriar/terminal-split
Browse files Browse the repository at this point in the history
Document terminal splitting
  • Loading branch information
Greg Van Liew authored Feb 21, 2018
2 parents 1135081 + ef15c9f commit 7c611ba
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/editor/integrated-terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ Remove terminal instances by pressing the trash can button.

>**Tip:** If you use multiple terminals extensively, you can add key bindings for the `focusNext`, `focusPrevious` and `kill` commands outlined in the [Key Bindings section](/docs/editor/integrated-terminal.md#terminal-key-bindings) to allow navigation between them using only the keyboard.
### Terminal Splitting

You can also split the terminal by triggering the `kb(workbench.action.terminal.split)` command or via the right click context menu.

![Split terminals](images/integrated-terminal/terminal-split-pane.png)

When focusing a split terminal pane, you can move focus and resize using one of the following commands:

* `kb(workbench.action.terminal.focusPreviousPane)`
* `kb(workbench.action.terminal.focusNextPane)`
* `kb(workbench.action.terminal.resizePaneLeft)`
* `kb(workbench.action.terminal.resizePaneRight)`
* `kb(workbench.action.terminal.resizePaneUp)`
* `kb(workbench.action.terminal.resizePaneDown)`

## Configuration

The shell used defaults to `$SHELL` on Linux and macOS, PowerShell on Windows 10 and cmd.exe on earlier versions of Windows. These can be overridden manually by setting `terminal.integrated.shell.*` in [settings](/docs/getstarted/settings.md). Arguments can be passed to the terminal shell on Linux and macOS using the `terminal.integrated.shellArgs.*` settings.
Expand Down

0 comments on commit 7c611ba

Please sign in to comment.