Fish can't copy&paste in Cursor

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I am running Cursor 3.4.20 in Fedora 44 KDE Plasma (if it helps).
Bash can copy and paste, fish cannot. No matter what I try.

Tried to reproduce in VS Code 1.120 - there is no issue with fish. copy and also paste are working as they should. It’s just Cursor-related.

Steps to Reproduce

Open Cursor, and use fish as your default shell

Operating System

Linux

Version Information

3.4.20 (The input must be 10 characters or longer.) :smiley:

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. To narrow it down, I need a bit more detail:

  • How exactly are you trying to copy and paste in the terminal
    • Ctrl+Shift+C and Ctrl+Shift+V
    • right click menu
    • middle click selection paste
    • or Ctrl+V which in fish is bound to fish_clipboard_paste
  • What exactly is not working
    • nothing happens
    • it pastes the wrong thing
    • or focus moves away from the terminal
  • Try temporarily disabling shell integration and see if anything changes
    • Ctrl+ ,
    • find terminal.integrated.shellIntegration.enabled and turn it off
    • restart the terminal and test copy and paste in fish
  • If you start Cursor with no extensions using cursor --disable-extensions, does the issue still happen?

Fish has its own clipboard bindings, and they can interact differently with Cursor keybindings vs VS Code. Without these details it’s hard to say for sure. Share the results, and if it’s reproducible I’ll file a bug.

Happens to me too. It’s a very old bug. Cursor team had added a Ctrl + L command to add to chat but it seems they removed. The easiest solution is to open a terminal outside Cursor.

I use Windows + cmd or powershell, and both have the same error. I also cant use ctr+c or ctrl+shift+c or right click

The biggest problem is the inconsistency.

Tooltips, or context menu says thatCtrl+Shift+C and Ctrl+Shift+V should work, but:

Ctrl+Shift+C - I highlight the text in the terminal, press the combo —> highlight is gone, but nothing is in the clipboard

Ctrl+Shift+V - I have content in the clipboard, press the combo → nothing goes in

What is working:

  • mouse actions
  • keyboard paste with Ctrl+V

NOTES:

  • I tried cursor --disable-extensions - no change
  • terminal.integrated.shellIntegration.enabled- it’s not there

Thanks for the details, that’s enough. I reproduced it and can confirm it looks like a real bug in the terminal keybinding routing. The tooltip shows Ctrl+Shift+C and Ctrl+Shift+V, but the shortcuts don’t reach the xterm clipboard handler. The selection gets cleared, nothing is copied to the clipboard, and paste gets swallowed too. Given @MarceloDiani’s report on Windows, this isn’t fish-specific. It’s the terminal shortcut layer itself.

I’ve reported it internally. No ETA for a fix yet. Once I have an update, we’ll post it in the thread.

Temporary workarounds for now:

  • Copy: select with the mouse, then right click Copy or use Edit > Copy in the menu
  • Paste: Ctrl+V via fish_clipboard_paste, which already works for you

About terminal.integrated.shellIntegration.enabled, in newer versions the setting key may have moved. It doesn’t affect this bug, so no need to check it further.