# Copy paste from editor to composer does not work

**URL:** <https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905>\
**Category:** Bug Reports\
**Created:** [August 31, 2024, 12:20am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905 "2024-08-31T00:20:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![diblacks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/diblacks/32/3802_2.png) [@diblacks](https://forum.cursor.com/u/diblacks)\
**Post date:** [August 31, 2024, 12:20am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/1 "2024-08-31T00:20:17Z")

</div>

Bug identified: copying some text from an open file to composer window does not work.

Steps to reproduce: open some file (such as a python file), select any arbitrary piece spanning more than one line, then try to paste that into a composer window.

Expected behavior: the selected text is pasted into composer text area

Actual behavior: nothing happens (no text is pasted)

This bug only happens if you select more than one line in a file. If your selection begins and ends in the same line, it is successfully copied and pasted over to composer.

---

<div class="post-metadata">

**Author:** ![diblacks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/diblacks/32/3802_2.png) [@diblacks](https://forum.cursor.com/u/diblacks)\
**Post date:** [August 31, 2024, 12:26am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/2 "2024-08-31T00:26:07Z")

</div>

I have a hunch.

If you copy a multiline snippet from an editor window and paste it on the chat (the one that shows up when you press CMD+OPT+B on macOS), that snippet is not directly pasted into the text area but added as a piece of context to your prompt.

If you copy a single-line snippet, the reverse happens: it is directly pasted into the text area, instead of a piece of context.

So this feature works normally on the chat component, but it is not properly (if at all) implemented on the composer component.

I personally would like the copy and paste to just work as expected (directly into text area). This bothers me the most when I want to have some prompt presets, or if I want to type a longer instruction without risking mis-pressing enter before I’m done writing.

But I get where this “context-pasting” feature is coming from. It’s cool.

Suggestion: Ctrl+V does “context-pasting”, Ctrl+Shift+V does regular direct pasting,

Due to this bug, I need to use both cursor and another text editor just for that.

---

<div class="post-metadata">

**Author:** ![fun\_strange](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@fun\_strange](https://forum.cursor.com/u/fun_strange)\
**Post date:** [August 31, 2024, 1:10am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/3 "2024-08-31T01:10:38Z")

</div>

I agree. Ctrl v should paste as context, Ctrl shift v should paste as regular text.

---

<div class="post-metadata">

**Author:** ![miguel-acevedo](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/miguel-acevedo/32/6334_2.png) [@miguel-acevedo](https://forum.cursor.com/u/miguel-acevedo)\
**Post date:** [October 8, 2024, 5:04am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/4 "2024-10-08T05:04:15Z")

</div>

I don’t understand how a product charges $20 per month and does not support basic pasting of code snippets.

I have the same issue. I need to paste in a URL text input, copy that, and then paste it into composer…

---

<div class="post-metadata">

**Author:** ![biubiubiu35](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/biubiubiu35/32/8032_2.png) [@biubiubiu35](https://forum.cursor.com/u/biubiubiu35)\
**Post date:** [October 11, 2024, 12:26am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/5 "2024-10-11T00:26:17Z")

</div>

This bug also in windows cursor. I can paste in editor, but can’t paste in composer or chat.

---

<div class="post-metadata">

**Author:** ![AJ2024](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aj2024/32/11564_2.png) [@AJ2024](https://forum.cursor.com/u/AJ2024)\
**Post date:** [November 12, 2024, 10:57am UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/6 "2024-11-12T10:57:14Z")

</div>

I’m having the exact same issue on windows cursor composer.

This was not a problem in previous versions of cursor.  
“Fix/improve one thing, break another”

---

<div class="post-metadata">

**Author:** ![zubairahsan](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/zubairahsan/32/79149_2.png) [@zubairahsan](https://forum.cursor.com/u/zubairahsan)\
**Post date:** [November 13, 2024, 6:42pm UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/7 "2024-11-13T18:42:30Z")

</div>

Paste into composer and chat no longer working after update on MBP M3

---

<div class="post-metadata">

**Author:** ![ericzakariasson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ericzakariasson/32/11130_2.png) [@ericzakariasson](https://forum.cursor.com/u/ericzakariasson)\
**Post date:** [November 13, 2024, 8:54pm UTC](https://forum.cursor.com/t/copy-paste-from-editor-to-composer-does-not-work/13905/8 "2024-11-13T20:54:19Z")

</div>

@zubairahsan when you paste, is it added to context or not showing up at all?
