About no. 1, I think any sane application will show a warning "Do you want to delete abc.c" before permanently removing the file. I cannot verify it now, but pretty sure VSCode has it.
So --
* if there is no such dialog, it's on zed * If there is such a dialog and you clicked yes, it's on you