Cursor deleting file when cmd-n is pressed

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.

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.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.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

I have also had this bug. This is really critical bug, I lost a critical file because of this and had to start all over again.

Hey, thanks for the report. We released a new update, version 1.3.5, in which we fixed many bugs. Try updating.

For anybody else running into this, I solved it by changing the default binding of “Reject Partial Edit”
Turns out it was deleting the file because it was a new file that Cursor created and if I rejected the edit it would delete the file

I changed mine to Ctrl+Alt+N