Vim mode: yank command (`"+y`) does not copy text to the system clipboard [BUG]

Open 💬 0 comments Opened Jul 11, 2026 by ColdenJohnson

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Summary

Vim mode's yank command ("+y) does not copy text to the system clipboard when typing input in Claude Code. This applies to yanking your own typed/edited input text (not Claude's output).

Environment

  • OS: macOS
  • Terminal: Warp
  • Shell: zsh
  • Claude Code (CLI), recent build
  • Not running in TUI/fullscreen mode (default)

Actual

Nothing is copied to the system clipboard.Yank only affects internal buffer.

Impact

Minor impact, but is annoying to have missing from the vim workflow, as this is common/expected behavior when writing prompts (pasting between dif. terminal windows, etc.)

What Should Happen?

The yanked text is placed on the system clipboard and pastes correctly elsewhere.

Error Messages/Logs

Steps to Reproduce

  1. Start a Claude Code session in default (non-fullscreen) mode.
  2. Enable vim mode for input editing.
  3. Type some text into the input box.
  4. Enter visual mode, select text, and yank to the system clipboard register ("+y or v → select → "+y).
  5. Try to paste (Cmd+V) into another application.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.197

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗