In Tools | Options | Keyboard...
- Add
CTRL+W
as a Global shortcut forWindow.CloseDocumentWindow
- Remove the
CTRL+W
shortcut forEdit.SelectCurrentWord
The caveat to this is if you are used to using CTRL+W
to select the current word. If you do, find another shortcut that works for that.
Yes, @travisterrell is right, in my VS 2017 it was bound to 4 items by default, so you have to
Ctrl+W
toWindow.CloseDocumentWindow