Customize keyboard shortcuts changedkeybindings
Nearest release: v2.1.261, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+21added
Lines−1removed
From line
55
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits43to this page, all time
### Diff panel actions
The whole hunk
from line 55, old and new numbered
/
from line 55
5555| `Footer` | Footer indicator navigation (tasks, teams, diff, artifacts) |
5656| `MessageSelector` | Rewind and summarize dialog message selection |
5757| `DiffDialog` | Diff viewer navigation |
58| `DiffPanel` | The [diff panel](/docs/en/interactive-mode#diff-panel) is open |
5859| `ModelPicker` | Model picker effort level |
5960| `Select` | Generic select/list components |
6061| `Plugin` | Plugin dialog (browse, discover, manage) |
from line 271
270271| `scroll:top` | G, Home | Jump to the top |
271272| `scroll:bottom` | Shift+G, End | Jump to the bottom |
272273
274### Diff panel actions
275
276Actions for the [diff panel](/docs/en/interactive-mode#diff-panel) that `/diff` opens in fullscreen rendering. `app:cycleDiffBase` is in the `DiffPanel` context, which is active while the panel is open; the others are `Global`. The panel requires Claude Code v2.1.260 or later.
277
278| Action | Default | Description |
279| :-------------------------- | :------------------- | :------------------------------------------------------------------------ |
280| `app:toggleReplTab` | (unbound) | Open or close the diff panel, the same as running `/diff` |
281| `app:cycleDiffBase` | Ctrl+X B | Cycle the panel's comparison base: this session, uncommitted, then branch |
282| `app:diffFileListUp` | Ctrl+Up, Meta+Up | Scroll the panel's file list up when it overflows |
283| `app:diffFileListDown` | Ctrl+Down, Meta+Down | Scroll the panel's file list down when it overflows |
284| `app:toggleDiffNoiseFilter` | (unbound) | Show or hide test and generated files in the panel |
285| `app:toggleDiffPreSession` | (unbound) | Expand or collapse the changes from before this session |
286
273287### Model picker actions
274288
275289Actions available in the `ModelPicker` context:
from line 441
427441
428442This also works for chord bindings. Unbinding every chord that shares a prefix frees that prefix for use as a single-key binding. A chord in any active context keeps its prefix reserved, so you must unbind each chord in the context that defines it.
429443
430Claude Code binds these default chords on the `ctrl+x` prefix: `ctrl+x ctrl+k`, `ctrl+x ctrl+e`, and `ctrl+x enter` in `Chat`, and `ctrl+x ctrl+b` in `Task`. The `ctrl+x enter` chord requires v2.1.247 or later. To reclaim `ctrl+x` itself as a single-key binding, unbind all of them:
444Claude Code binds these default chords on the `ctrl+x` prefix: `ctrl+x ctrl+k`, `ctrl+x ctrl+e`, and `ctrl+x enter` in `Chat`, `ctrl+x ctrl+b` in `Task`, and `ctrl+x b` in `DiffPanel`. The `ctrl+x enter` chord requires v2.1.247 or later, and `ctrl+x b` requires v2.1.260 or later. To reclaim `ctrl+x` itself as a single-key binding, unbind all of them:
431445
432446```json theme={null}
433447{
from line 450
436450 "context": "Task",
437451 "bindings": {
438452 "ctrl+x ctrl+b": null
453 }
454 },
455 {
456 "context": "DiffPanel",
457 "bindings": {
458 "ctrl+x b": null
439459 }
440460 },
441461 {
No line in this hunk matches that.