Keyboard shortcuts
Builds on Pages and the block editor.
On Windows and Linux, use Ctrl where this page says ⌘ and Alt where it says ⌥.
Reading a page
#Pages open in View mode.
| Shortcut | What it does |
|---|---|
| E | Edit the page (if you can edit it). Not while you're typing in a field or a dialog is open |
| ⌘ \ | Hide or show the sidebar |
| ⌘ J | Open or close Ask on this page (signed in) |
| Esc | Close Ask |
Done in the top bar goes back to View mode. To turn single-key shortcuts like E off, open Settings › Account and switch off Keyboard shortcuts.
Anywhere in the editor
#| Shortcut | What it does |
|---|---|
| ⌘ \ | Hide or show the sidebar (the page tree and contents). With it hidden, point at the left edge of the window to peek at it |
/ | Open the block menu |
: and a name | Insert an emoji (:rocket gives 🚀) |
| ⌘ Z / ⌘ ⇧ Z | Undo / redo |
| ⌘ F | Find and replace |
| ⌘ K | Link the selected text |
| ⌘ B / ⌘ I / ⌘ U / ⌘ E | Bold / italic / underline / inline code |
| ⌘ ⇧ H | Apply the last text colour or highlight again |
| ⌘ ⇧ K | Keyboard key style |
| Esc | Select the block you're in |
| ⇧ ↑ / ⇧ ↓ | With a block selected: add the block above / below |
| ⌘ A, then ⌘ A again | Select the line's text, then every block |
| ⌘ D | Duplicate the block (or the selected blocks) |
| Delete, ⌘ C, ⌘ X | With blocks selected: delete, copy or cut them |
| ⌘ ⇧ ↑ / ⌘ ⇧ ↓ (or ⌥ ⇧ ↑ / ↓) | Move the block up / down |
| ⌘ Enter | Check or uncheck a to-do |
| Tab / ⇧ Tab | Nest the line under the block above / bring it back out (a list item: indent / outdent); in a table, the next / previous cell |
| Enter in the title | Start writing at the top of the page |
| Esc in a diagram's code / Enter on a selected diagram | Show the Mermaid diagram / edit its code again |
AI
#| Shortcut | What it does |
|---|---|
| ⌘ J | In the text: with text selected, Ask AI for the selection, otherwise draft with /ai at the caret. Outside the text (or in View mode): open Ask |
| Space on an empty line | Draft with /ai |
| Esc | Discard an AI suggestion |
See AI in pages.
Turn into
#| Shortcut | Turns the line into |
|---|---|
| ⌘ ⌥ 0 | Text |
| ⌘ ⌥ 1 / 2 / 3 | Heading 1 / 2 / 3 |
| ⌘ ⌥ 4 | To-do list |
| ⌘ ⌥ 5 | Bulleted list |
| ⌘ ⌥ 6 | Numbered list |
| ⌘ ⌥ 7 | Toggle (the line becomes its summary) |
| ⌘ ⌥ 8 | Code |
| ⌘ ⌥ 9 | Quote |
Markdown as you type
#At the start of a line:
| Type | You get |
|---|---|
#, ##, ### and a space | Heading 1, 2, 3 |
-, * or + and a space | Bulleted list |
1. and a space | Numbered list |
[] or [x] and a space | To-do |
> or " and a space | Quote |
``` | Code block |
--- | Divider |
$$ and a space | Equation |
Inside a line: **bold**, *italic*, `code` and ~~strike~~.
In menus
#The block menu, the emoji menu and pickers work from the keyboard: ↑ / ↓ to move, Enter to choose, Esc to close.
Paste
#| Shortcut | What it does |
|---|---|
| ⌘ V | Paste. Content from other apps and Markdown become blocks. See Paste into a page. |
| ⌘ ⇧ V | Paste as plain text |
| ↑ / ↓, Enter | After pasting a link on its own: choose Link, Mention, Bookmark or Embed |
| Esc | After pasting a link on its own: keep it as a link |
Did this page help?