Pasting text into directory name creates a new file

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When attempting to paste text while renaming a directory in the File Explorer, it results in a new file being created under the directory with the content of what I pasted instead of the text being pasted into the directory name.

This is very annoying and started right after I updated to the latest cursor today.

Steps to Reproduce

na

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.9
VSCode Version: 1.105.1
Commit: a86689c93e9fb11addfbefd29a6ec7c0a59175e0
Date: 2025-12-10T16:51:25.713Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

4 Likes

Yeah it creates a file called “Untitled” with the text past for content :confused:

same here, can’t paste file name

Hey, thanks for the report. I can repro it. I’ll pass it to the team.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Today’s update (2.2.9) came with yet another common keyboard shortcut override. I can no longer paste into a file name in the file explorer. Now using cmd+V will create a new untitled file – which makes no sense at all. I just downloaded a fresh copy of VSCode and it doesn’t have this quirk.

The reason I want to paste is that, in React, unit test files usually live next to the file they’re testing and share the same base name, with the extension .test.tsx. So I’ll copy the base name of the file I’m going to write tests for, create a new file, and paste the base name into the filename field and add the test.tsx extension. Now I cannot do this.

Even worse, this time I cannot even find this behavior in the shortcut settings to turn off. I have no idea how to disable this.

I’m feeling really frustrated by this. Every time Cursor tells me there’s an update, I’m worried that my common (not custom) shortcuts will be overridden again. PLEASE STOP.

Steps to Reproduce

  1. Copy some text: “BaseFilename”
  2. Go to the File Explorer and create a new file
  3. Make sure the new file’s name is editable
  4. Type cmd+v to paste the text from your clipboard
  5. The new file disappears, and an “untitled” file has been added

Expected Behavior

  1. The text in the clipboard should be added to the file name field
  2. Cursor should not override existing common keyboard shortcuts.

The frequency with which the cursor clobbers standard keystrokes is making it unpleasant to use and scary to upgrade.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.9 (Universal)
VSCode Version: 1.105.1
Commit: a86689c93e9fb11addfbefd29a6ec7c0a59175e0
Date: 2025-12-10T16:51:25.713Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

2 Likes

me too!

Version: 2.2.14

VSCode Version: 1.105.1

Same here, works 100% fine on VS Code. Breaking in cursor

Version: 2.2.14 (user setup)
VSCode Version: 1.105.1
Commit: 1685afce45886aa5579025ac7e077fc3d4369c50
Date: 2025-12-11T01:12:35.790Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Same here. It’s so annoying :sneezing_face:

Same

same, its so annoying

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

cannot rename the file / name new file with paste. the content will be paste into a new untitle file as content but not changing the file name. Manual typing works.

Steps to Reproduce

create a new file, copy a “file-name”, paste to the editable name field

Expected Behavior

change file name

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.17 (system setup)
VSCode Version: 1.105.1
Commit: cf858ca030e9c9a99ea444ec6efcbcfc40bfda70
Date: 2025-12-11T18:30:06.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

yeah, i have the same problem

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Renaming a file using the copy creates a new file instead of modifying the original

Steps to Reproduce

rename file
use comman + v

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.17 (Universal)
VSCode Version: 1.105.1
Commit: cf858ca030e9c9a99ea444ec6efcbcfc40bfda70
Date: 2025-12-11T18:30:06.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 22.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Same here

experiencing this too

UPDATE: I just updated to v2.2.20 and it’s all working as expected for me now.