[FEATURE] Keyboard shortcut to copy last response (complement to /copy)

Resolved 💬 3 comments Opened Feb 24, 2026 by unthingable Closed Feb 28, 2026

Summary

The /copy slash command was recently added to copy the last Claude response to clipboard. There is no keyboard shortcut equivalent.

Request

Add a configurable keyboard shortcut (e.g. via keybindings.json) that triggers the same behavior as /copy — copying the last response to the clipboard without having to type a slash command.

Motivation

Keyboard shortcuts allow faster, flow-preserving interactions. Being able to copy the last response with a single keystroke would complement the /copy command for users who prefer not to switch to the input field mid-workflow.

Other LLM CLI tools (e.g. Aider, OpenCode) support keyboard-driven copy of the last response. The absence of this in Claude Code is a notable gap for power users.

Related issues

  • /copy slash command: #5512
  • Keyboard shortcut for prompt editor copy: #5005

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗