Skip to content

Instantly share code, notes, and snippets.

@chrjorgensen
Created January 24, 2017 20:41
Show Gist options
  • Save chrjorgensen/722a7a79c43e7293b0373f984d9484c4 to your computer and use it in GitHub Desktop.
Save chrjorgensen/722a7a79c43e7293b0373f984d9484c4 to your computer and use it in GitHub Desktop.
How to make Ctrl-Tab switch editors in Visual Studio Code
In Visual Studio Code press Ctrl-K Ctrl-S to go to the keyboard bindings editor.
Two windows open up - the default and the user keyboard bindings files.
In the user keyboard bindings on the right, enter the followin text:
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+tab", "command": "workbench.action.nextEditor" },
{ "key": "ctrl+shift+tab", "command": "workbench.action.previousEditor" },
{ "key": "ctrl+pageup", "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup" },
{ "key": "ctrl+pagedown", "command": "workbench.action.openNextRecentlyUsedEditorInGroup" }
]
Save the file and restart Visual Studio Code, and the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment