Is there a way to not have the cmd + k prompting window being part of the cmd + z?

I have an issue with Cursor’s undo functionality. When I use CMD+K to get AI assistance and write text in the Cursor window, that text becomes part of my code’s undo history. This means when I later use CMD+Z to undo changes in my code, I have to go through all the text I wrote in the Cursor window first.

I’d prefer if the Cursor window text wasn’t included in my code’s undo history - similar to how using Claude’s web UI doesn’t affect my code history. Is there a way to make CMD+K interactions separate from the main code undo history?

2 Likes

I agree, the change history of the CMD+K assistant should not be in the file’s change history.

1 Like

I completely agree, thanks for the feature request. I look forward to improvements.

I agree, this is frustrating.