sdeditpreview
Chapters

7 / 9 · Applies to v0.1.3

Keyboard shortcuts

Keys for each action and what happens while a terminal has focus.

General#

The tables in this chapter list the default keys, which you can change in Settings. “In terminal” says whether the app handles the key while a terminal has focus. Otherwise the shell or program receives it.

ActionKeyIn terminal
Command paletteCmd/Ctrl+Shift+PYes
Quick openCmd/Ctrl+PmacOS only
Search the workspaceCmd/Ctrl+Shift+FmacOS only
Toggle ExplorerCmd/Ctrl+BmacOS only
Save allCmd/Ctrl+Alt+SmacOS only
Next terminal notificationCmd/Ctrl+Shift+JYes
Maximize or restore paneCmd/Ctrl+Shift+MYes
Close tabCmd/Ctrl+WNo
New untitled fileCmd/Ctrl+NNo
Save asCmd/Ctrl+Shift+SNo

Panes and tabs#

ActionKeyIn terminal
Next or previous tab in the paneCtrl+Tab / Ctrl+Shift+TabYes
Previous or next paneAlt+PageUp / Alt+PageDownSetting
Split the tab in a direction (outside editors)Alt+Shift+ArrowSetting
Navigate back or forward (macOS)Ctrl+- / Ctrl+Shift+-No
Navigate back or forward (Windows / Linux)Alt+← / Alt+→No

Keys marked “Setting” also work in terminals by default.

Tab groups#

ActionmacOSWindows / Linux
Switch to group 1–9Cmd+1–9Ctrl+Alt+1–9
Previous or next groupCmd+Option+← / →Ctrl+Alt+PageUp / PageDown
Switch by nameCmd+Shift+ECtrl+Shift+E

These keys also work while a terminal has focus. Key conflicts on Windows and Linux machines have not been checked. Adding, renaming, and closing groups have no default keys.

Editor#

ActionKey
SaveCmd/Ctrl+S
Find in fileCmd/Ctrl+F
Go to lineCtrl+G
Duplicate lineCmd/Ctrl+Shift+D
Toggle wrappingAlt+Z
Zoom in, out, resetCmd/Ctrl+= / Cmd/Ctrl+- / Cmd/Ctrl+0
Quick fix (TS / JS)Cmd/Ctrl+.
Definition, references (TS / JS)F12 / Shift+F12
Rename, format (TS / JS)F2 / Alt+Shift+F

Terminal#

ActionKey
Search the terminal (macOS)Cmd+F
Search the terminal (Windows / Linux)Terminal body context menu (no default key)
Open a URL or file pathCmd/Ctrl + click

Reassign shortcuts#

Under Keyboard shortcuts in Settings you can reassign, clear, or reset the listed commands. Search by command name or key, and filter by category. Changes apply immediately.

  • Press a key button, then the new combination (Esc cancels). A combination needs Cmd, Ctrl, or Alt, or is a function key (F1–F12).
  • If the keys belong to another command, you choose whether to move them.
  • Copy, paste, cut, undo, redo, select all, find, terminal control keys such as Ctrl+C, and Cmd+Q on macOS cannot be assigned. The screen lists the reserved keys.
  • shortcuts in JSON mode exports and imports assignments.
  • The current keys appear in the command palette, the tab, editor, and terminal context menus, and button tooltips.

Report a mistake in this manual