Keyboard shortcuts

Keyboard shortcuts

The combinations below are for Windows and Linux. On macOS, use Cmd wherever a table says Ctrl. The same list is in the app under Edit › Keyboard shortcuts.

The app

CtrlSSave
CtrlKCommand palette
CtrlTGo to file
CtrlWClose the tab
CtrlFFind in this document
CtrlShiftFFind in every file in the folder
CtrlShiftNNew window
CtrlAltEnterStart or stop a compile

Visual editor

Each key maps to the markup you would have typed.

CtrlBBold
CtrlIItalic
CtrlUUnderline
Ctrl`Inline code
Ctrl.Superscript
Ctrl,Subscript
CtrlShift1…3Heading levels 1 to 3
CtrlMInline math
CtrlShiftMDisplay math

Source editor

CtrlAlt/Add a cursor above or below
CtrlDSelect the next occurrence
CtrlSpaceOpen suggestions
F12Go to definition (or Ctrl+Click)
EscHide the math preview

Vim and Emacs keybindings for the source editor are a setting. See Preferences.