Command palette
Press Cmd+K, type a few letters, press Enter. The palette reaches every page, every field on this page, and every action in the editor.
Opening it
Press Cmd+K on a Mac or Ctrl+K elsewhere, from anywhere in the editor, even while you're typing in a field. Press it again, or Escape, to close it. When you're not typing, the / key opens it too. It's also in the page menu, as Find a page or action, for when you'd rather click.
What it finds
| Group | What choosing one does |
|---|---|
| Pages | Goes to that page. Drafts are labelled. |
| On this page | Scrolls to that field and starts editing it, whether it's text, rich text or an image. Fields inside blocks say which block they're in. |
| Actions | Publish, Page settings, Undo, Redo, New page, History, the Blocks library, Build a block, Site view, Channels, Design, Site settings, New page type and Make a channel. Each channel adds “New post in Journal” and “Open a post in Journal…”, named after the channel. |
| Blocks | Every block and component in the site. Choosing one opens the Blocks library, where you drag it onto the page. |
Only fields you can click appear under On this page. Fields that live in attributes are in Page settings; choose that action to get there.
How matching works
Type the letters of what you want, in order. They don't have to be next to each other: jrn finds Journal, and pbl finds Publish. Matches at the start of a word, and letters that sit together, rank higher. The letters that matched are highlighted.
Results stay in their groups, and the group with the best match comes first. If the name doesn't match, the palette also tries the detail line, so typing part of an address like /journal/ finds the pages under it.
Moving through results
| Key | What it does |
|---|---|
| ↑ and ↓ | Move through the results. |
| Enter | Choose the highlighted result. |
| Escape | Close the palette. |
Recent choices come first
With nothing typed, the palette lists the last eight things you chose, then everything else in group order: pages, fields, actions, blocks. Recent choices also get a lift when you search, so the page you visit every morning is always one or two keys away.
Your recent choices are remembered in this browser only. They aren't saved with the site, and nobody else sees them.
A typical minute
- Cmd+K, type
abo, Enter: you're on the about page. - Cmd+K, type
head, Enter: the heading is selected and ready to type over. - Type the new heading, press Enter.
- Cmd+K, type
pub, Enter: it's published.