anthropics / anthropics/claude-code

[DOCS] Desktop: Ctrl+1–Ctrl+9 session switching is missing from the Code tab shortcut table

Ouverte Adaptée aux débutants
#90,762 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:desktop documentation enhancement platform:windows
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

The Code tab has a direct-jump session shortcut that the documentation never mentions: `Ctrl`+`1` through `Ctrl`+`9` switch to a session by its position in the sidebar.

It is clearly a deliberate feature rather than an accident — hold `Ctrl` and each eligible sidebar row displays the number assigned to it, so the app teaches the shortcut in the UI while the docs stay silent about it.

## Where it is missing

The [Desktop application](https://code.claude.com/docs/en/desktop) page covers the neighboring behavior twice and skips this one both times:

* The **Keyboard shortcuts** table lists `Ctrl` `Tab` / `Ctrl` `Shift` `Tab` and `Cmd` `Shift` `]` / `Cmd` `Shift` `[` as "Next or previous session". No direct-jump row.
* **Work in parallel with sessions** describes `Ctrl+Tab` cycling and the `Ctrl`-click gesture that opens a session in a split pane — so the prose covers a different `Ctrl` chord on the same sidebar rows, and still not this one.

The table's only digit row is `1`–`9`, "Select item in an open menu". That is a different behavior in a different context, so a reader scanning for digit shortcuts is actively pointed away from the session one.

## What the row should say

Confirmed on Windows. Following the page's own convention that Windows uses `Ctrl` where the table writes `Cmd`, the macOS chord is presumably `Cmd`+digit, but that was not tested here.

| Shortcut | Action |
| -------- | ------ |
| `Ctrl` `1`–`Ctrl` `9` | Switch to the session in that sidebar position |

Three details are worth stating alongside it, because each one surprises people who assume browser-tab semantics:

* Positions are counted across the **whole sidebar**, flattened over projects, not restarted per project.
* `Ctrl`+`9` is the **ninth slot**, not the last session. There is no jump-to-the-end.
* Sessions past the ninth position **get no number** and cannot be reached this way at all.

## Why this is worth a docs fix rather than shrugging at

The docs are effectively the only reference for Desktop shortcuts:

* Desktop does not read `keybindings.json` (#84101), so `/keybindings` and the keybindings reference — which document the CLI's contexts and actions in full — describe nothing that applies here.
* The in-app shortcut list is the other route, and it is unreachable on keyboard layouts where `/` needs Shift (#86641), so on those layouts the published table is the only list a user can get to.

The third detail above also matters beyond discoverability: The nine-slot ceiling is exactly why direct jumps do not substitute for recency-ordered cycling, which is the subject of #90624.

## Related

* #81920 — the same class for the composer: Markdown formatting shortcuts exist but are documented nowhere. That report asks for formatting shortcuts specifically; this one is about a session shortcut omitted from a table that otherwise covers session navigation.
* #75523 — the pinned-sidebar state behind `Ctrl+B` is likewise undiscoverable and undocumented.

## Environment

* Claude Desktop 1.40609.0 (Microsoft Store MSIX build), bundled engine `claude-code` 2.1.247
* Windows 11 Education 25H2, build 26200
* Documentation read 2026-08-30

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Open the Desktop application page and inspect the Keyboard shortcuts table alongside the Work in parallel with sessions section. Add the missing Ctrl+1–Ctrl+9 session-switching entry and document the whole-sidebar positions, ninth-slot limit, and sessions beyond the ninth position. Confirm the wording distinguishes it from menu selection and session cycling.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
desktop, documentation
Type d'issue
Documentation
Difficulté
1/5
Temps estimé
Moins d'une heure
Activité
Active
Clarté
Clairement spécifiée
Accessibilité débutants
92/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.