{"version":"2.1.238","anchor":"new-keybindingflavor-setting-for-readline-style-prompt-editi","canonical_anchor":"new-keybindingflavor-setting-for-readline-style-prompt-editi","heading":"New keybindingFlavor setting for readline-style prompt editing","tier":"use","area":"Input Editing","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/new-keybindingflavor-setting-for-readline-style-prompt-editi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### New `keybindingFlavor` setting for readline-style prompt editing\n\nSet keybindingFlavor to readline and Ctrl+W deletes back to whitespace like Bash does.\n\n**What**\n\nA new settings key, `keybindingFlavor`, picks which editing-key conventions the prompt input follows. Set it to `\"readline\"` and Ctrl+W deletes back to the previous whitespace, the way Bash and other readline programs behave. The default when unset is `\"classic\"`, which keeps the long-standing behaviour of deleting the previous word. No experiment flag is involved; anyone who sets the key gets it.\n\n**Details**\n\n- Accepted values are `\"classic\"` and `\"readline\"`; the value is optional and an unrecognised one falls back to undefined, meaning classic behaviour.\n- `\"keybindingFlavor\"` was added to the list of known settings keys alongside `forceLoginMethod`, `cleanupPeriodDays` and `autoCompactWindow`.\n- The readline path adds a delete-to-previous-whitespace cursor operation, distinct from the existing delete-previous-word.\n- The flavor is read once per session and consumed by both the main prompt input and a second single-line input component.\n- This is separate from the existing normal\/vim editing mode.\n\n**Usage**\n\n`{ \"keybindingFlavor\": \"readline\" }` **Evidence** `keybindingFlavor`, `Which conventions the prompt's editing keys follow: \"readline\" matches Bash and other readline programs (Ctrl+W deletes back to the previous whitespace); \"classic\" (default) keeps Claude Code's long-standing behavior (Ctrl+W deletes the previous word)`, `\"readline\" matches Bash and other readline programs (Ctrl+W deletes back to the previous whitespace)`\n\n- Area: Input Editing\n- Names: `keybindingFlavor`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 2\/5"}