Let me expand & edit a collapsed multi-line paste in the prompt (in-place, no external editor)

Open 💬 0 comments Opened Jul 11, 2026 by dgroo

Problem

Pasting multi-line text into the interactive prompt collapses it to a [Pasted N lines] placeholder. There's no way to expand that back into the input buffer to edit the pasted lines in place. The only edit path is Ctrl+G (external $EDITOR), which pulls you out of the Claude Code window entirely.

Use case

Claude generates a list in the conversation (e.g. a per-item checklist). I want to paste that list into the prompt and annotate it line-by-line, while scrolling up in the same window to reference Claude's earlier notes.

This bites hardest on a laptop with limited screen real estate: the external-editor workaround (Ctrl+G) assumes you can view the editor and the Claude Code transcript at the same time, but on a small screen you can't tile vim/Sublime and the CC window side-by-side and still read/type in either. In-window editing is the only ergonomic option there — you edit in place and scroll the same pane up to reference earlier output.

Repro

  1. Paste > (threshold) lines into the prompt.
  2. It becomes a [Pasted N lines] chip.
  3. There's no keybinding/gesture to expand the chip into editable text.

Request (any one)

  • A keybinding to toggle a paste chip between collapsed ⇄ expanded-editable.
  • A setting/threshold to disable auto-collapse (paste stays as raw editable text).
  • Make the chip editable in place.

Env: Claude Code v2.1.207, macOS, laptop, vim input mode.

View original on GitHub ↗