Keyboard shortcuts
Every keyboard shortcut in the app, grouped by what it does, shown for macOS.
File menu and navigation shortcuts are desktop-only; formatting and find shortcuts also work in the cloud web app.
| Group | Shortcut | Action |
|---|---|---|
| File menu | ⌘N | New File |
| File menu | ⌘O | Open… |
| File menu | ⌘S | Save now |
| File menu | ⇧⌘S | Save As… |
| Document tabs | ⌘W | Close active tab; with one tab, close window |
| Document tabs | ⌘T | New tab |
| Document tabs | ⌃Tab / ⌃⇧Tab | Next / previous tab |
| Document tabs | ⌘1–⌘8 / ⌘9 | Tab position / last tab |
| Document tabs | ⌘⇧← / ⌘⇧→ | Move the focused tab left / right |
| Document tabs | Esc while dragging | Cancel tab reorder |
| File menu | menu only | Close Window |
| View menu | ⌘= | Zoom In |
| View menu | ⌘- | Zoom Out |
| View menu | ⌘0 | Actual Size |
| Navigation | ⌘[ | Back within the active tab |
| Navigation | ⌘] | Forward within the active tab |
| Find | ⌘F | Open the find bar (web: your browser's own find) |
| Find | ⌘K | Open the find bar (web: opens the Command Palette instead) |
| Find | F3 / ⌘G | Next match |
| Find | ⇧F3 / ⌘⇧G | Previous match |
| Find | Esc | Clear the search and close the find bar |
| Formatting | ⌘B | Bold |
| Formatting | ⌘I | Italic |
| Formatting | ⌘E | Inline code |
| Formatting | ⌘⇧X | Strikethrough |
| Lightbox | Enter / Space | Open the lightbox for a focused image or diagram |
| Lightbox | Esc | Close the lightbox |
On a touchscreen, swiping scrolls the tab row; use the focused-tab keyboard shortcut above to reorder tabs.
No shortcut
A few things you'll reach for often have no key of their own:
- Switching between reading and editing — click the pencil icon, use File → Edit File, or click directly into the text. See Reading and editing.
- Focus mode — the button in the document header. See App interface.
- The version sidebar — its chevron button.