I hate those "last used" tabs things. I just want to go left/right in VSCode.
Asked
Active
Viewed 4,285 times
2 Answers
13
I posted this answer how to bind the next/previous tab commands a couple of minutes ago here: https://stackoverflow.com/a/40447042/2906632
Just bind the two commands from there to ctrl-tab
and ctrl-shift-tab
.
-
1From the linked answer: "The commands for switching tabs are called workbench.action.nextEditor and workbench.action.previousEditor" – Niels May 24 '22 at 12:43
2
I had to add do the following settings:
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor",
"when": "!activeEditorGroupEmpty"
}
When clause taken from the defualts:
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
}

Anemoia
- 7,928
- 7
- 46
- 71