User commands: workspace reads and capture #247

open cmc opened this on 2026-11-27 06:00 UTC · feature · milestone 8 Automation and extension

Discussion

cmc 2026-11-27 06:00 UTC

Phase 2 of the user-commands plan in docs/plans/2026-11-27-user-commands.md (#173).

  • workspace = true on a command in commands.toml enables: org.search(query) over the index, org.outlineOf(path) for a file in an added folder, agenda entries for a span, and org.capture(templateKey, text) through the existing capture code. Capture is the only way a command writes to another file.
  • Commands without workspace = true get an error from these calls.
  • The trust prompt for such a file says it can also read every file in the folders and capture to them; trust for workspace access is separate from buffer-only trust.
  • Manual updated.

Platforms: Mac, iOS. Depends on: #245.

Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form