Disabling Ctrl+w from closing Visual Studio Code window
To disable ctrl+w from closing the Visual Studio Code add the following to the keyboard shortcuts file:
{ "key": "ctrl+w", "when": "!editorIsOpen" }
The keyboard shortcuts file is accessible through File > Preferences > Keyboard Shortcuts.
Have a thought about this? I'd love to hear it: me@ognjen.io
Or send me feedback. It will take less than 20 seconds.
Or send me feedback. It will take less than 20 seconds.