promptgarten 🌱

Command reference Β· Aider

/copy

Copies Aider's last reply to the clipboard.

/copy copies the assistant's last response – that is, the last chat message sent by Aider – unchanged to your system clipboard. The command was introduced in Aider version 0.58.0 and takes no arguments: you type /copy, and afterward the complete message is ready to paste, for example via Ctrl+V. It's important to distinguish this from /copy-context: while /copy only transfers the plain response text, /copy-context copies the entire current chat context as Markdown – including the files added to the chat and the repo map – in a format that can be pasted directly into a web chat like ChatGPT or Claude. For simply reusing an explanation, a code snippet, or a summary from the last response, /copy is entirely sufficient.

πŸ”„ THE SAME TASK (β€œCOPY RESPONSE/TEXT”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Reuse a response for documentation

Call /copy after an explanation and paste the text directly into a ticket or documentation.

Share a code snippet quickly

Use /copy to paste a code excerpt suggested by Aider into a Slack message or a GitHub issue via Ctrl+V.

β›” WHEN NOT TO?

Copying the whole code context for a web LLM

/copy only transfers the last response, not the files added to the chat or the repo map.

Better: Use /copy-context, which copies the full chat context as Markdown.

SOURCES

MORE COMMANDS Β· Aider

/copy-context/diff/drop/edit/editor/editor-model/exit/git/help/lint/load/ls

All commands Β· Aider β†’

Share:𝕏inπŸ’¬