Feature request: add chat:deleteWordBackward action for option+backspace word deletion

Status Closed — not planned
Maintainer reply None cached
Activity 1 comment · opened Jun 19, 2026 · closed Jul 31, 2026

Feature Request

Summary: Add a chat:deleteWordBackward (and optionally chat:deleteWordForward) action to the keybinding system so users can bind word-deletion shortcuts like option+backspace.

Current behavior: option+backspace does nothing in Claude Code's chat input, even when the same shortcut works in the surrounding terminal (e.g. Warp). There is no word-deletion action exposed in the keybinding system to map it to.

Desired behavior: A chat:deleteWordBackward action that users can bind via ~/.claude/keybindings.json:

\\\json
{
"$schema": "https://www.schemastore.org/claude-code-keybindings.json",
"$docs": "https://code.claude.com/docs/en/keybindings",
"bindings": [
{
"context": "Chat",
"bindings": {
"alt+backspace": "chat:deleteWordBackward"
}
}
]
}
\
\\

Workaround: ctrl+w works for word deletion but is not rebindable to the preferred shortcut.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗