Ctrl + Number shortcut only works one way between split panels

Hi,

I have 3 split panels open (PHP, CSS, etc.). I use Ctrl + 1, Ctrl + 2, Ctrl + 3 to move focus between them.

The problem is:

Ctrl + 2 works when I’m in Panel 1 → moves to Panel 2 :white_check_mark:

Ctrl + 1 does NOT work when I’m in Panel 2 → stays in Panel 2 :cross_mark:

So the shortcut only works one way. Moving from a higher number to a lower number doesn’t work at all.

Reloading the window fixes it temporarily, but the issue comes back.

Is this a known bug? Is there any permanent fix?

I’m on Windows.

Thanks!

Hey, this is a known issue. On Windows, Ctrl+1 Focus First Editor Group stops working when chat-editor-group mode is active, while Ctrl+2 to Ctrl+8 still work, so it looks like it only works one way. Reloading temporarily removes the block, but it comes back later.

A working workaround is to remove the when condition from this keybinding:

  • Open Keyboard Shortcuts
  • Find View: Focus First Editor Group
  • Right click the binding, then Change When Expression, then delete !cursor.chatEditorGroup.enabled and leave the field empty

Alternatively, you can add a rule in keybindings.json for ctrl+1 to workbench.action.focusFirstEditorGroup with an empty when.

We’ve logged this bug on our side. There’s no exact timeline for a fix yet. Let me know if the workaround didn’t help.

thanks for the answer :folded_hands: