/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
β 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
- Aider Docs β In-chat commands β aider.chat
MORE COMMANDS Β· Aider