Skip to content

[Feature]: Make Cmd/Ctrl+number navigate only my explicitly-opened (pinned) workspaces, with a visible ⌘N badge #7198

Description

@minho-pinta-sh

Problem or use case

I work across many projects but on any given stretch I only care about a handful of workspaces I've explicitly opened/pinned. I want to hop between those with Cmd+# (Cmd/Ctrl + a number) and nothing else. Today the shortcut doesn't support that workflow:

  • It's project/workspace-index based, not my working set. Cmd+# targets the Nth visible workspace including projects I never opened — so it can land on, and even spin up a brand-new session in, a project that had no session at all. I don't want an empty project to be reachable by Cmd+1.
  • It doesn't map to the pinned cards. Pinned ("고정됨" / Pinned) workspaces are the natural "these are the ones I chose," but Cmd+# doesn't map to the pinned set/order.
  • The number is invisible. Cards show no ⌘1 / Ctrl+1 badge, so there's no way to know which digit goes where — it just feels like it lands somewhere unexpected.

Proposed solution

  • Scope Cmd+# to my explicitly-opened / pinned workspaces — the digit selects the Nth workspace in the pinned (or explicitly-opened) set, in the order shown. It should not target projects I never opened, and should not create a new session on an empty project.
  • Show the index on the card — render a small ⌘1 / Ctrl+1 badge on each numbered card so the mapping is visible and learnable.
  • Sort by the ⌘N order — an option to order the cards by their assigned ⌘N number so the visual order and the shortcut order always match.
  • Keep the numbering stable as I pin/unpin/reorder (renumber to the visible order).

Follow Orca's cross-platform convention: ⌘ on macOS, Ctrl+ on Linux/Windows.

Alternatives or additional context

Activity

  1. added theissue type on Jul 12, 2026
  2. added
    enhancement
    on Jul 16, 2026
  3. luw2007 commented on Sep 8, 2026

    @luw2007

    Strong support for the core problem: pinned workspaces are the deliberate working set, yet the most prominent cards currently do not own the earliest workspace.selectByIndex digits. That makes Cmd/Ctrl+1–9 disagree with the sidebar users can see.

    I would slightly narrow the proposed rule to preserve the spatial model established by #9497 / #10693: number each unique workspace by its first visible card, top to bottom. Since the Pinned section is first, pinned workspaces naturally take the earliest digits; if showPinnedWorktreesInGroups also renders a natural-group copy, that duplicate gets no second number. Remaining visible non-pinned cards may then receive the unused digits. This avoids a separate pinned-only shortcut mode while ensuring no card above workspace 1 is mysteriously unnumbered.

    The badge work in #16083 is a good companion: it makes the effective mapping visible while the configured modifier is held. Badge rendering and activation should consume the exact same deduplicated rendered-row target list.

    Concrete invariant: first visible occurrence wins; one workspace identity gets at most one digit; hidden/collapsed rows consume none; sidebar open/closed does not renumber.

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

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions