Skip to content

[Feature]: Keyboard shortcut to switch directly between projects #6674

Description

@realitsyourman

Problem or use case

Moving between projects (repos / project groups in the sidebar) today only works through the Cmd+J jump palette, which is search-driven — open it, type the project name, select. There is no direct keyboard shortcut to cycle to the next/previous project or jump to a project by index. Relevant prior art in the codebase:

For users juggling several projects throughout the day, search-then-select adds friction versus a single keystroke.

Proposed solution

Add remappable global keybindings to switch projects directly:

  • project.navigateNext / project.navigatePrevious — cycle to the next/previous project in sidebar order, activating its last-focused worktree (or revealing + focusing the project header).
  • Optional project.selectByIndex — Cmd+number jump to the Nth project, mirroring the existing workspace.selectByIndex, if a non-conflicting modifier set is available.

Follow existing conventions: platform-aware labels (⌘/⇧ on macOS, Ctrl+/Shift+ on Linux/Windows; CmdOrCtrl for menu accelerators), defined in the keybinding registry (src/shared/keybindings.ts) under the Global group so they are remappable in Settings → Shortcuts and discoverable in the Jump palette (#5767).

Alternatives or additional context

Activity

  1. realitsyourman commented on Jun 29, 2026

    @realitsyourman
    ContributorAuthor

    Happy to take a shot at implementing this. Before I open a PR — do maintainers have a preferred default binding?

    The obvious modifier slots are already taken:

    Candidates for next/previous project (remappable, defaults TBD): Cmd+Shift+[ / ], or Cmd+Option+↑/↓. Alternatively, register project.navigateNext / project.navigatePrevious (+ optional project.selectByIndex) with no default so users bind their own.

    I'll match the existing keybinding registry (src/shared/keybindings.ts) and the platform-label conventions either way. Let me know which you'd prefer for the default and I'll send a PR.

  2. realitsyourman commented on Jun 29, 2026

    @realitsyourman
    ContributorAuthor

    @nwparker Please share your thoughts.

  3. added
    enhancement
    size/s
    on Jun 30, 2026
  4. brennanb2025 commented on Jul 1, 2026

    @brennanb2025
    Contributor

    Accidentally closed it, sorry about that! Just reopened it.

  5. realitsyourman commented on Jul 1, 2026

    @realitsyourman
    ContributorAuthor

    Accidentally closed it, sorry about that! Just reopened it.

    Thank you

  6. added theissue type on Jul 12, 2026
  7. mikeover commented on Oct 19, 2026

    @mikeover

    What's the status of this?

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

Metadata

Metadata

Assignees

Labels

enhancementsize/s

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions