/copy
/copy puts the last assistant response on your clipboard.
If the response has code blocks, a picker lets you grab just one instead of the
whole thing. Pass a number to reach further back: /copy 3 copies the third most
recent response. Press w to write to a file instead of the clipboard.
> /copy
Select content to copy:
─────────────────────────────────────────────
> 1. Full response
2. Code block (sql) SELECT id FROM users…
3. Code block (sql) WITH active AS (…)
4. Code block (sql) SELECT count(*) FROM…
↑↓ navigate ↵ copy w write to fileI reach for it when Claude writes a query or a config block and I want it in the editor without selecting across a scrolled terminal.