Keyboard shortcut to move focus between panes (terminal, chat, diff) without toggling them

Status Open
Maintainer reply None cached
Activity 3 comments · opened Aug 26, 2026

Problem

In the Claude Code desktop app there is no keyboard shortcut to move focus between panes (chat input, integrated terminal, diff, browser). The existing shortcuts (e.g. <kbd>Ctrl</kbd>+<kbd>`</kbd>) toggle a pane's visibility rather than move focus to an already-open pane. As a result, returning focus from the terminal back to the chat input requires reaching for the mouse (or pressing <kbd>Esc</kbd>, which also interrupts Claude if it's mid-response).

This makes the app hard to drive keyboard-only for users coming from the terminal CLI.

Proposal

Add keyboard navigation for pane focus, for example:

  • A "cycle focus to next / previous pane" shortcut (e.g. <kbd>Ctrl</kbd>+<kbd>Tab</kbd> / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd>), and/or
  • Direct "focus terminal" and "focus chat input" shortcuts that move focus without toggling the pane's visibility.

Ideally these would be rebindable (see note on customization below).

Alternatives considered

  • <kbd>Ctrl</kbd>+<kbd>`</kbd> — toggles terminal visibility, doesn't move focus to an open terminal.
  • Clicking the target pane — works, but breaks keyboard-only flow.
  • <kbd>Esc</kbd> to leave terminal focus — also interrupts an in-progress Claude response, so it's unsafe as a general "back to chat" key.

Related

  • Desktop keyboard shortcuts are currently not customizable (~/.claude/keybindings.json is CLI-only). If focus shortcuts are added, allowing them to be rebound on desktop would be valuable.
  • Related feature request: #89908 (auto-open the integrated terminal on new desktop sessions).

Environment

  • Surface: Claude Code desktop app (macOS)

View original on GitHub ↗

3 Comments

claell · 1 month ago

Confirming this on Windows 11 (Desktop app, Code tab, 2.1.247). The issue currently carries platform:macos, but the gap is identical on Windows: Nothing in the Code tab's shortcut table moves focus to the chat composer, so getting back to it after reading a diff or working in another pane means reaching for the mouse.

One data point that narrows the ask: Ctrl+Tab / Ctrl+Shift+Tab (cycle sessions) does restore composer focus on Windows. Cycling away from a session and back is a usable workaround, and more usefully it shows the app already has a working "focus the composer" path — it just isn't reachable on its own. A standalone focus chat input action would largely mean exposing what session switching already calls, rather than building new behavior.

That also separates this request from the neighbouring focus reports: This is not focus being lost (#80743, #88317). Focus lands where it should; there is simply no key that asks for it.

On the rebindability note in the description: #86204, which asked for keybindings.json support in the desktop chat input, was closed on 2026-08-25 as a duplicate of #74655. That target covers the submit key specifically, so general rebindability of desktop shortcuts currently has no active owner. Worth folding into this issue if focus actions land.

Documentation cross-check as of 2026-08-30: The Code tab shortcut table lists no focus-movement entry, and keybindings.json exposes no focus action in any context.

Filed the narrow half separately as #90743: A dedicated shortcut that focuses the composer and does nothing else, with how OpenCode, Antigravity, Codex, and Copilot Chat each bind it. This issue stays the broader pane-navigation request; the two are meant to be read together rather than as duplicates.

claell · 21 days ago

Still unaddressed as of 2026-09-23 (Claude Desktop 2.7032.0.0, Windows 11):

  • The Code tab shortcut table on the Desktop page has "Close focused pane" but still no way to move focus between panes.
  • I found no pane-focus navigation in the Desktop changelog from 1.40609.0 through 2.7032.0.

Meanwhile the number of panes has grown: 1.44121.1 added a Split View submenu, and side panes (diff, terminal, plan, preview) can open in their own window. Related newer reports: #92943 (no way to move keyboard focus into the diff/review panel, currently labelled area:tui) and #92395 (the terminal panel steals focus on every shell tool call).

claell · 6 days ago

Status as of 2026-10-08 (Claude Desktop 2.19675.1.0, Windows 11). I read this from the shipped renderer bundle and did not test it in the app:

  • Ctrl+] / Ctrl+[ are bound to "Focus next split view" / "Focus previous split view" and appear in the in-app shortcut list. They only move focus between split-view session panes. They don't reach the terminal, the diff, or other side panes.
  • A focus-region module adds F6 / Shift+F6 ("Focus next/previous page area"). It also adds command-menu entries "Jump to terminal", "Jump to side panel", "Jump to preview" and "Jump to input". The module loads only behind a feature gate, and the jump commands have no default key binding.
  • The shortcut table on the Desktop page lists none of these. "Close focused pane" is still its only pane-focus row.

So the pieces exist. For this request, what's missing is ungated default keys that move focus between chat, terminal and diff without toggling them, plus their documentation.