[PR #2158] feat: add copy slash command to copy last message #10212

Open
opened 2026-02-16 18:14:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2158

State: open
Merged: No


Summary

This PR introduces a /copy command for copying messages via the existing MessagesCopyCommand.

Doing so follows the established pattern used by ⁠undo and ⁠redo. Exposing the command in the UI improves discoverability for users who may not be familiar with the keyboard shortcut.

Changes

  • Adds trigger to the existing MessagesCopyCommand
  • Updates docs accordingly

Closes #2118

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2158 **State:** open **Merged:** No --- ## Summary This PR introduces a `/copy` command for copying messages via the existing `MessagesCopyCommand`. Doing so follows the established pattern used by ⁠`undo` and `⁠redo`. Exposing the command in the UI improves discoverability for users who may not be familiar with the keyboard shortcut. ## Changes - Adds trigger to the existing `MessagesCopyCommand` - Updates docs accordingly Closes #2118
yindo added the pull-request label 2026-02-16 18:14:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10212