How to prevent VScode from closing editor when pressing ctrl+w with no tabs open?

According to the comment here: https://github.com/Microsoft/vscode/issues/50671 it’s possible to edit this behavior in the keybindings, but provides no instructions for how to do so. How do I edit the VScode keybindings so that if I press CTRL+W with no open tabs, it doesn’t close the editor? It’s highly annoying to be trying to close a … Read more