Home · Docs · Basics · Command palette

Command palette

Hit ⌘K to jump to any doc, create a new one, open Settings, or scaffold from a template. Every section verified against the actual handler.

The command palette is the fastest way to do anything in sweetdocs. One shortcut, four sections of results, cross-library search.

Opening (and closing) it

⌘K on Mac, Ctrl+K on Windows / Linux. The shortcut is a toggle — pressing it again, or pressing Esc, closes the palette. Clicking the dimmed backdrop also closes it.

The palette renders as a centred card at 20vh from the top of the viewport, max width ~640px. Backdrop is bg-black/40 with a small blur.

A small esc chip in the top-right of the palette is a visual hint — it’s not a button, just there to remind you.

Actions
  • New Document
  • Settings
Templates
  • Meeting notes
  • Project brief
  • README
  • One-pager
Recent documents
  • kyoto-trip
  • Auth migration plan
  • Pricing notes
↑↓ navigate↵ openesc close

What’s inside

The palette has three sections when you haven’t typed anything yet, and one “search results” section when you have.

Actions

The first group at the top — fixed, always present.

ItemWhat it doesKeywords matched
+ New DocumentCreates a blank doc in your current folder + library, navigates to itnew, create, document, doc
⚙ SettingsOpens /app/settings (Profile + Appearance + API keys + Security)settings, preferences, theme, appearance

Templates

Pre-made document scaffolds. Picking one creates a new doc with the template’s title + content prefilled, then navigates you to it.

TemplateWhat’s in it
Meeting notesAttendees · Agenda · Discussion · Decisions · Action items
Project briefProblem · Goals · Out of scope · Approach · Success criteria · Plan table
READMEStandard open-source README skeleton
One-pagerSingle-page brief format

Selecting a template fires createDocument({ title, content }) then navigates to /app/doc/<new-id>.

Recent documents

When you haven’t typed a query, the bottom group lists your 10 most recently updated documents from the current library. Each row shows the doc-type icon, the title (or Untitled), and the last-updated date on the right.

Searching

Start typing. The Recent group disappears and the palette flips into search mode.

Search is cross-library — it queries every library you have access to (personal + every team library across every org you belong to). Results rank server-side, so they appear after a short fetch (a Searching… chip in the top-right is the live indicator).

Two result types come back:

The empty state reads No results. while not searching, or Searching… while a fetch is in flight.

Why is this different from the sidebar search? The sidebar’s search box is library-scoped (only the library you’re currently inside). The palette is everything-scoped. The “Search everything →” button at the bottom of the sidebar search results pops the palette open seeded with your current query.

Keyboard navigation

KeysAction
↑ / ↓Move highlight up / down
EnterSelect the highlighted item
EscClose the palette (your query is cleared on close)

The list loops — pressing ↓ on the last item wraps to the first.

Other ways to open it

Beyond ⌘K: