[DOCS] Commands page missing `/copy N` and tmux copy guidance

Resolved 💬 2 comments Opened Mar 17, 2026 by coygeek Closed Mar 18, 2026

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/commands

Section/Topic

/copy

Current Documentation

The docs currently say:

/copy | Copy the last assistant response to clipboard. When code blocks are present, shows an interactive picker to select individual blocks or the full response

This does not mention copying older assistant responses with /copy N, and it does not explain tmux-specific clipboard/paste behavior.

What's Wrong or Missing?

Claude Code v2.1.77 added an optional index so /copy N copies the Nth-latest assistant response.

The same release also updated tmux copy UX so users are told whether to paste with ⌘V or tmux prefix+]. The command reference still documents only the latest-response flow, so /copy is under-specified for both history indexing and tmux sessions.

Suggested Improvement

Expand the /copy command reference with syntax and examples.

Suggested coverage:

  • /copy copies the latest assistant response
  • /copy 3 copies the 3rd-latest assistant response
  • how the picker behaves when code blocks are present
  • a note that tmux sessions may use tmux paste instead of the system paste shortcut

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/commands | /copy is documented only as copying the last assistant response |

Total scope: 1 page affected

Source: Claude Code v2.1.77 release notes

Exact release entries:

/copy now accepts an optional index: /copy N copies the Nth-latest assistant response
Fixed clipboard copy silently failing in tmux sessions; copy toast now indicates whether to paste with ⌘V or tmux prefix+]

View original on GitHub ↗

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