Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Customize keyboard shortcuts changedkeybindings

Nearest release: v2.1.307, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 21 Oct 2026 20:15 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 21 Oct 2026 20:37 UTC.

Upstream edited
Recorded here
Lines+21added
Lines−0removed
From line 685 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits41to this page, all time

### Cancel a question with one key press

The whole hunk

from line 685, old and new numbered
/
lines
from line 685
685685 
686686In the `Other` row of a question Claude asks, Escape doesn't cancel the question right away in vim mode. Except in [screen reader mode](/docs/en/accessibility), the row starts in INSERT mode each time you focus it. When you press Escape in the `Other` row, the row switches to NORMAL mode or drops a half-typed vim command, and the question stays open. Press Escape again in NORMAL mode to cancel the question.
687687 
688### Cancel a question with one key press
689 
690To cancel a question with one key press in vim mode, bind another key to `select:cancel` in the `Select` context. You can cancel this way from the `Other` row of a question where you select one option. In [screen reader mode](/docs/en/accessibility) or in a question where you can select several options, the bound key doesn't cancel, so cancel with Escape instead.
691 
692Pick a key that you press with Ctrl or Alt. A bare letter or digit [goes to the `Other` row](#text-fields) instead and doesn't reach your bindings. For example, to bind `Ctrl+Q`, add this to `~/.claude/keybindings.json`:
693 
694```json theme={null}
695{
696 "bindings": [
697 {
698 "context": "Select",
699 "bindings": {
700 "ctrl+q": "select:cancel"
701 }
702 }
703 ]
704}
705```
706 
707After you save the file, press `Ctrl+Q` in the `Other` row of a question where you select one option. The question closes whether the row is in INSERT or NORMAL mode.
708 
688709## Validation
689710 
690711Claude Code validates your keybindings and writes a warning to the debug log for:
Feedback