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
| CtrlS | Save |
| CtrlK | Command palette |
| CtrlT | Go to file |
| CtrlW | Close the tab |
| CtrlF | Find in this document |
| CtrlShiftF | Find in every file in the folder |
| CtrlShiftN | New window |
| CtrlAltEnter | Start or stop a compile |
Visual editor
Each key maps to the markup you would have typed.
| CtrlB | Bold |
| CtrlI | Italic |
| CtrlU | Underline |
| Ctrl` | Inline code |
| Ctrl. | Superscript |
| Ctrl, | Subscript |
| CtrlShift1…3 | Heading levels 1 to 3 |
| CtrlM | Inline math |
| CtrlShiftM | Display math |
Source editor
| CtrlAlt↑/↓ | Add a cursor above or below |
| CtrlD | Select the next occurrence |
| CtrlSpace | Open suggestions |
| F12 | Go to definition (or Ctrl+Click) |
| Esc | Hide the math preview |
Vim and Emacs keybindings for the source editor are a setting. See Preferences.