AskUserQuestion dialog doesn't support vim keybindings
Resolved 💬 2 comments Opened Apr 14, 2026 by cdavie-artium Closed Apr 15, 2026
Summary
When Claude asks a question via AskUserQuestion and the user selects "Other" to type a custom response, the text input area does not support vim keybindings — even when vim mode is enabled in the main input.
Steps to reproduce
- Enable vim mode in Claude Code (the main input supports it)
- Trigger a flow where Claude asks a question (via
AskUserQuestiontool) - Select "Other" to type a custom response
- Try to use vim keybindings (e.g., press
Escto enter command mode)
Expected behavior
Vim enters command mode, so the user input remains available to continue editing, consistent with the main input.
Actual behavior
Pressing Esc dismisses/cancels the question dialog entirely, losing any text the user had typed.
Impact
- Users lose their in-progress text with no way to recover it
- Muscle memory from the main input causes accidental dismissals
- Inconsistent behavior between text input areas
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗