What this read moved
1–2 of 2keybindings Changed · +25 / -3 lines
from line 133
133133
134134| Action | Default | Description |
135135| :---------------------- | :---------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
136| `confirm:yes` | Y, Enter | Confirm action |
137| `confirm:no` | N, Escape | Decline action |
136| `confirm:yes` | Enter | Confirm action |
137| `confirm:no` | Escape | Decline action |
138138| `confirm:previous` | Up | Previous option |
139139| `confirm:next` | Down | Next option |
140140| `confirm:nextField` | Tab | Next field |
from line 146
146146
147147Before v2.1.257, a `confirm:toggleExplanation` action, bound to `Ctrl+E` by default, showed a model-generated explanation of the command on Bash and PowerShell permission prompts.
148148
149Dialogs use `confirm:yes` and `confirm:no` to accept and cancel even when they don't ask a yes-or-no question. If you bind a bare letter such as `y` or `n` in this context, the letter also acts on dialogs that never show it as a key. A dialog that shows `y` and `n` as its keys reads those letters itself and needs no binding.
150
151This example binds `y` to `confirm:yes` and `n` to `confirm:no`:
152
153```json theme={null}
154{
155 "bindings": [
156 {
157 "context": "Confirmation",
158 "bindings": {
159 "y": "confirm:yes",
160 "n": "confirm:no"
161 }
162 }
163 ]
164}
165```
166
167Before v2.1.280, `y` was also bound to `confirm:yes` and `n` to `confirm:no` by default. If you created your `keybindings.json` with `/keybindings` before v2.1.280, the file lists both bindings and they stay in effect until you delete those two lines.
168
149169### Permission actions
150170
151171Actions available in the `Confirmation` context for permission dialogs:
from line 344
324344| `select:accept` | Enter | Accept selection |
325345| `select:cancel` | Escape | Cancel selection |
326346
327Claude Code applies your `select:pageUp`, `select:pageDown`, `select:first`, and `select:last` bindings in the `/skills` menu. In most other lists, such as the `/model` picker, Claude Code pages with PageUp and PageDown regardless of your bindings and ignores Home and End.
347Claude Code applies your `select:pageUp`, `select:pageDown`, `select:first`, and `select:last` bindings in the `/skills` menu. In most other lists, such as the `/model` picker, your `select:first` and `select:last` bindings apply. PageUp and PageDown page through the options in those lists regardless of your bindings.
348
349Before v2.1.280, those other lists ignored Home, End, and your `select:first` and `select:last` bindings.
328350
329351### Plugin actions
330352
fast-mode Changed · +1 / -1 lines
from line 23
2323
2424In the CLI, toggle fast mode in either of these ways:
2525
26* Type `/fast` and press Tab to toggle on or off
26* Run `/fast`, press Space to toggle on or off, then press Enter to confirm
2727* Set `"fastMode": true` in your [user settings file](/docs/en/settings)
2828
2929By default, fast mode you turn on in an interactive session persists across sessions. You can configure fast mode to reset each session. See [require per-session opt-in](#require-per-session-opt-in) for details.