Keyboard shortcuts
On macOS, use Cmd for Ctrl and Option for Alt, unless a row says otherwise.
Anywhere
| CtrlK | Command palette (also Ctrl Shift P) |
| CtrlT | Go to file |
| CtrlAltEnter | Compile, or stop a running compile |
| CtrlShiftF | Find in files |
| CtrlShiftG | Source Control, with the cursor in the message box (Control Shift G on macOS) |
| CtrlEnter | Commit, from the Source Control message box |
| F8 | Next spelling problem |
| ShiftF8 | Previous spelling problem |
Formatting
| Ctrl` | Inline code |
| CtrlShift` | Code block |
| CtrlM | Inline math |
| CtrlShiftM | Display math |
| Ctrl. | Superscript (LaTeX, Typst) |
| CtrlShift, | Subscript (LaTeX, Typst) |
| CtrlShiftX | Strikethrough (Markdown) |
| CtrlShiftB | Block quote (LaTeX, Markdown; Typst in the source editor only) |
| CtrlAlt1,2,3 | Heading 1, 2, 3 (\section to \subsubsection in the LaTeX source editor) |
| CtrlAlt4,5,6 | Heading 4, 5, 6 (Typst, Markdown) |
| CtrlShift1,2,3 | Heading 1, 2, 3 in the visual editor, for layouts where Ctrl Alt types a character. Windows and Linux |
| CtrlAlt0 | Back to a paragraph (visual editor; Typst and Markdown source) |
Visual editor
| ShiftEnter | New display equation of the same kind, from inside a display equation |
| CtrlEnter | Leave a code block |
| Tab | Switch between \indent and \noindent in a LaTeX paragraph outside a table or list (Shift Tab too) |
Source editor
| F12 | Go to the definition of a label, macro, citation, or \input (also Ctrl click) |
| F2 | Rename a Typst symbol in every file |
| AltEnter | Quick fixes (Typst) |
| CtrlSpace | Open suggestions, or the symbol search inside math (Control Space on macOS) |
| Tab | Accept the starter text in an empty .tex file |
| Esc | Hide the math preview until the cursor leaves the math |
| AltF5 | Next change since the last commit |
| ShiftAltF5 | Previous change since the last commit |