Skip to content

Instantly share code, notes, and snippets.

@alikrc
Forked from jpoehls/gist:2030795
Created January 3, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alikrc/8f7aacf828f3f827d5082a823a3911bc to your computer and use it in GitHub Desktop.
Save alikrc/8f7aacf828f3f827d5082a823a3911bc to your computer and use it in GitHub Desktop.
Using CTRL+W to close tabs in Visual Studio

In Tools | Options | Keyboard...

  1. Add CTRL+W as a Global shortcut for Window.CloseDocumentWindow
  2. Remove the CTRL+W shortcut for Edit.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment