anthropics / anthropics/claude-code

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

オープン 初心者向け
#90,762 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:desktop documentation enhancement platform:windows
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

領域
desktop, documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
92/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。