Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I try to create a new file with CMD-N on the Mac. Instead of creating a new tab for a new file, Cursor completely deletes the current file instead.
NOTE: This is a copy/paste from a closed bug report (besides the version info is my own) as I am having the same experience as the OP of that bug report: Cursor deleting file when cmd-n is pressed
Steps to Reproduce
Have a lot of unreviewed LLM output in a file that the LLM created. Have this be the active tab. Press cmd-n on the Mac. The file gets deleted and the tab disappears.
Expected Behavior
Create an empty new tab instead of deleting the existing file
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.40
VSCode Version: 1.99.3
Commit: df79b2380cd32922cad03529b0dc0c946c311850
Date: 2025-10-09T02:55:11.735Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0
Additional Information
This is very bad. Fortunately the LLM has a good memory and can recreate the entire file from scratch, but this heavily shakes my confidence in the editor.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
