proposal(next): Cmd-1..9 number only the workspaces by default (no bead)

Closed
TE
16d ago
+21-7

Summary

Proposal for a keys call. Do not merge until Leo decides.

From op-chief-scout's correctness audit (manaflow-ai/cmuxterm-hq#1925, item 3): in cmux NEXT, Cmd-1..9 don't reach your workspaces. sidebar.numbering defaults to allItems. Home is therefore Cmd-1, the App Store is Cmd-2, and the first workspace is only Cmd-3. New workspaces also go to the top (workspaces.newPlacement: top), so the workspace you just made moves the others down a number.

This PR changes the default to workspacesOnly, so the first workspace is Cmd-1. allItems stays available as a setting.

Options for the call

  • (a) sidebar.numbering: workspacesOnly by default (this PR, recommended). Cmd-1..9 map to workspaces, as they do in classic cmux and in browsers' tab numbering. The shortcut hint overlay (WindowShortcutHints) already numbers only workspaces, so with today's allItems default the hints and the keys disagree. This change fixes that too.
  • (b) Also set workspaces.newPlacement: bottom by default. This keeps existing workspaces' numbers stable when you make a new one. It isn't in this PR. It is a separate default change, so it's up to Leo whether it rides along.

Question for Leo

With workspacesOnly, Home has no default key (home.show has no shortcut). Should Home get one, or is the sidebar and palette enough?

Changes

  • SidebarNavigationSettings: numbering defaults to .workspacesOnly.
  • docs/configuration.md: the default and the example are updated.
  • The settings exports (MDM json/plist/md, settings schema) are regenerated on the fleet. The only change in them is this default.

Testing

None. This is a default change for a call. If it's accepted, a behavior test of Cmd-1 selecting the first workspace comes with it.

Changelog

  • Changed: Cmd-1..9 select your workspaces by default, so the first workspace is Cmd-1; Home and the App Store are no longer numbered unless sidebar.numbering is allItems.

๐Ÿค– Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Proposes changing the default of sidebar.numbering from allItems to workspacesOnly, so Cmd-1..9 number only your workspaces by default. Do not merge until Leo decides โ€” this is a default hotkey change awaiting a keys call.

With today's allItems default, Home is Cmd-1, the App Store is Cmd-2, and the first workspace is only Cmd-3; new workspaces also shift the numbers down as they're added to the top. workspacesOnly matches classic cmux and browser tab numbering, and aligns the keys with the shortcut hint overlay, which already numbers only workspaces.

Notes

  • allItems remains available as a setting; docs, MDM exports, and the defaults schema are updated.
  • Adds a test asserting Cmd-1 is the first workspace under the default numbering.