Skip to content

Instantly share code, notes, and snippets.

@LearnWebCode
Last active April 6, 2023 19:57
Show Gist options
  • Select an option

  • Save LearnWebCode/9e8dd8cffdaf06a17d2960f4ae613315 to your computer and use it in GitHub Desktop.

Select an option

Save LearnWebCode/9e8dd8cffdaf06a17d2960f4ae613315 to your computer and use it in GitHub Desktop.
In VS Code on Mac; change from control + number to cmd + number to jump between open editors.
// Place your key bindings in this file to override the defaults
[
{ "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" },
{ "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" },
{ "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" },
{ "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" },
{ "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" },
{ "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" },
{ "key": "cmd+7", "command": "workbench.action.openEditorAtIndex7" },
{ "key": "cmd+8", "command": "workbench.action.openEditorAtIndex8" },
{ "key": "cmd+9", "command": "workbench.action.openEditorAtIndex9" },
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
}
]
@Dan-Santarossa

Copy link
Copy Markdown

good lord, thank you

@djones05

djones05 commented Jul 5, 2022

Copy link
Copy Markdown

Thank you!

@coryroyce

Copy link
Copy Markdown

This is very helpful, thank you.

ghost commented Sep 25, 2022

Copy link
Copy Markdown

Thank you!

@lilyflowr

Copy link
Copy Markdown

Thanks a lot!

@msft-vivi

Copy link
Copy Markdown

Thank you~

@cheetah-alo

Copy link
Copy Markdown

Thanks!

@Jaime-Antonio-Mejia-Beher

Copy link
Copy Markdown

Love this!

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