16

I hate those "last used" tabs things. I just want to go left/right in VSCode.

corysimmons
  • 7,296
  • 4
  • 57
  • 65

2 Answers2

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.

Community
  • 1
  • 1
kwood
  • 9,854
  • 2
  • 28
  • 32
  • 1
    From 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