This is infuriating. I have lost generated files multiple times now due to clicking “cmd+N“ due to muscle memory (I expect this to create a new file, not delete the generated file).
For anyone coming back to this, if I am not mistaken, I think you can go into your keyboard shortcuts, search “reject”, find the right one that is assigned “cmd N”, then right click and select “remove keybinding”.