Focus active editor group from chat with vim

Hey, this is a known issue, and it’s not related to the Vim extension. Cursor disables the Cmd+1 binding for focusFirstEditorGroup when the chat editor group is enabled, so vim.handleKeys won’t help here.

Workaround:

  1. Open Keyboard Shortcuts
  2. Search for View: Focus First Editor Group
  3. Right-click the binding > Change When Expression
  4. Remove !cursor.chatEditorGroup.enabled

After that, Cmd+1 should work again. More details in this thread: Cursor misconfiguration blocks VS Code native Ctrl+1 shortcut keys used to focus first editor panel

The team is aware of the issue. There’s no ETA yet, but the workaround above should fix it. Let me know if it doesn’t.