[FEATURE] Add Support to Claude Code CLI for Standard Text Editing Keyboard Shortcuts in Powershell
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I am constantly frustrated by the inability to use normal keyboard shortcuts while typing prompts. That would be these: https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec#textediting
Specifically, CTRL+A, Shift+ArrowKey, Shift+Home, Shift+End. This often results in writing prompts in Notepad then pasting them into the CLI.
These keyboard shortcuts are already supported in Powershell, so when they don't work in Claude Code CLI, it is confusing.
Proposed Solution
I would like these keyboard shortcuts to work, just like in essentially every situation where I am editing text in essentially every application.
Alternative Solutions
Claude presented me with a list of alternative keybindings:
- Ctrl+A - Jump to beginning of line (like Home)
- Ctrl+E - Jump to end of line (like End)
- Ctrl+K - Delete from cursor to end of line
- Ctrl+U - Delete from cursor to beginning of line
- Ctrl+W - Delete word before cursor
- Alt+D - Delete word after cursor
That achieves some minimal functionality, but doesn't come close and doesn't leverage decades of experience using these shortcuts. You might as well show me a diagram of the keyboard and ask me to press Q in order to type M. Would that work? Technically, yes. Would I do it? Of course not.
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
I'm writing a prompt. I want to change something.
Additional Context
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗