When you right-click -> delete a file, the default option is to move it to trash. However, it doesn’t close the tab in the atom editor.
I frequently find myself editing a file I’ve recently deleted, only to later realize that it’s not the file I expect to be editing. For now, I try to remember to ‘Delete’ instead of ‘Move to Trash’, but ‘Move to Trash’ is the default, so I frequently click the wrong one.
I think that ‘Move to Trash’ should close the window in the Atom editor.