Keyboard shortcuts
Every default shortcut in the desktop app, generated from its keymap.
Panes
| Action | Shortcut |
|---|---|
| Split right | AltShift= |
| Split down | AltShift- |
| Close pane | AltShiftW |
| Toggle zoom | CtrlShiftEnter |
| Equalize panes | AltShiftE |
| Grow pane | CtrlShift= |
| Shrink pane | CtrlShift- |
Focus
| Action | Shortcut |
|---|---|
| Focus left | Alt← |
| Focus right | Alt→ |
| Focus up | Alt↑ |
| Focus down | Alt↓ |
| Focus next | Alt] |
| Focus previous | Alt[ |
| Focus pane 1 to 9Visible panes, in the order they were opened | Alt1toAlt9 |
Move panes
| Action | Shortcut |
|---|---|
| Move pane left | AltShift← |
| Move pane right | AltShift→ |
| Move pane up | AltShift↑ |
| Move pane down | AltShift↓ |
In a terminal
| Action | Shortcut |
|---|---|
| Copy | CtrlShiftCorCtrlInsert |
| Copy the selectionOnly while text is selected | CtrlC |
| Paste | CtrlShiftVorShiftInsert |
| Find in the pane | CtrlForCtrlShiftF |
| Next or previous matchIn the find bar | EnterorShiftEnter |
| Close the find bar | Esc |
| Open a link | CtrlClick |
| Jump to previous promptNeeds shell integration, built in for PowerShell | Ctrl↑ |
| Jump to next promptNeeds shell integration, built in for PowerShell | Ctrl↓ |
| Copy last command outputNeeds shell integration, built in for PowerShell | CtrlShiftO |
Tabs
| Action | Shortcut |
|---|---|
| Show tab 1 to 9In the order of the tab strip | Ctrl1toCtrl9 |
| Next tab | CtrlTaborCtrlPageDown |
| Previous tab | CtrlShiftTaborCtrlPageUp |
| Close tabAnywhere but a terminal, where Ctrl+W goes to the program | CtrlW |
| Close tab from a terminalWherever the focus is | CtrlShiftW |
| Reopen closed tabThe last ten closed in this window | CtrlShiftT |
App
| Action | Shortcut |
|---|---|
| Command palette | CtrlShiftP |
| New terminal | CtrlShift` |
| Toggle sidebar | CtrlShiftB |
| Open settings | Ctrl, |
| File an issue from this paneIn a terminal of a project's tab | CtrlI |
In the command palette, start with @ to jump to a terminal by name.
In the Files editor
| Action | Shortcut |
|---|---|
| Save | CtrlS |
| Find | CtrlF |
| Find and replace | CtrlH |
| Next match | F3 |
| Previous match | ShiftF3 |
| Go to line | CtrlG |
| Select the next match too | CtrlD |
| Wrap long lines | AltZ |
While the Files tile has the focus, Ctrl+W, Ctrl+Shift+T and Ctrl+Tab close, reopen and move through its open files instead of the window's tabs.
In dialogs
| Action | Shortcut |
|---|---|
| Save an issue you are editing | CtrlEnter |
| Close a dialog or sheet | Esc |
Rebinding
The command palette, copy, paste, find, the find bar keys, link clicks, the Files editor's keys and the dialog keys are fixed. Everything else above can be changed in Settings > Keyboard, or under keybindings in settings.json. Settings > Keyboard will not bind a chord that a fixed shortcut or another action already has, and apart from F1 to F12 a shortcut needs at least one modifier.
In settings.json a chord is written with key codes, modifiers first in the order Ctrl, Alt, Shift, Meta: Ctrl+Shift+KeyW, Alt+Shift+Equal, Alt+Digit1.
Two defaults moved when the tab shortcuts came: Close pane is now Alt+Shift+W, and New terminal has a chord of its own (see App above), because Ctrl+Shift+W and Ctrl+Shift+T now close and reopen tabs. A binding still at its old default moves with them; one you chose stays.