Document editor

Command palette

`Cmd/Ctrl + K` opens the palette — jump to docs, run commands, change settings.

One key, the whole app

The command palette is Kition’s central nervous system. Anything reachable from menus — new doc, theme switch, run agent, export PDF — is searchable and runnable from here. The mouse becomes optional; the keyboard is enough.

Matching is fzf-style fuzzy: type etp and "Export to PDF" surfaces. Recently-used commands float to the top automatically.

Quick navigation

  • Type plain text — files come first (fuzzy match)
  • > prefix — restrict to commands only
  • # prefix — search headings inside docs
  • @ prefix — search symbols (functions / classes in code blocks)
  • : prefix — jump to a line number

Common commands

  • "Open file..." — jump to a doc
  • "New table..." — create a table
  • "Run agent task..." — run an agent
  • "Toggle preview" — switch preview mode
  • "Export to PDF..." — export
  • "Open recent" — recently-opened files
  • "Switch workspace" — change vault
  • "Reload window" — reload the window (first thing to try when stuck)

Custom commands

Settings → Commands lets you register custom commands surfaced in the palette. Each command supports three kinds of actions: run a shell snippet, open a URL, or trigger an agent task.

Common pattern: wrap "Generate this week’s status report" as a single command bound to an agent prompt + template — then Cmd + K it whenever you need it.

{
  "id": "weekly-report",
  "label": "Generate weekly report",
  "type": "agent",
  "agent": "report-writer",
  "input": {
    "template": "Templates/weekly.md",
    "since": "{{date:-7d}}"
  }
}

Tips

  • Esc closes; Cmd + K while open switches to "recent files"
  • Shift + Enter opens the highlighted doc in a new tab
  • Tab inside the palette pins the current item to the top for next time
  • Forget the exact name? Search in Chinese or English — labels are bilingually indexed

Related articles

Ready when you are.

Kition is a local-first AI workspace. Markdown documents, structured tables, and an AI agent — running on your own machine, against the model provider you choose.