[Bug] Shift+Insert not bindable in keybindings.json (insert key unmapped)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 83/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by locating the function that maps parsed key names to keybinding names; the issue identifies its supported names and says insert is missing. Check how it handles up, down, and the other named keys, then add insert to the bindable names. Done when the provided shift+insert binding fires for the standard ESC[2;2~ sequence.
Written by the indexing model from the issue text.
Description
Bug Description
Shift+Insert can't be bound in keybindings.json
I want Shift+Insert to paste images (chat:imagePaste), as an
alternative to Ctrl+V. This binding loads without an error but never
fires:
{ "context": "Chat", "bindings": { "shift+insert": "chat:imagePaste" } }
Version: 2.1.319, Arch Linux, Wayland.
The terminal sends the standard sequence ESC[2;2~, and the input
parser turns it into key.name "insert" with shift set. The function
that maps keys to binding names only knows up, down, left, right,
pageup, pagedown, home and end, so "insert" never matches. Ctrl+V
works fine in the same session with an image in the clipboard.
Request: add insert to the bindable key names. Shift+Insert is the
usual paste key on Linux.
Environment Info
- Platform: linux
- Terminal: rex
- Version: 2.1.319
- Feedback ID: 5e9d1890-27be-4194-9b06-56b94ab3113f
- Dominant language
- TypeScript
- Stars
- 154k
- Forks
- 25.6k
- Avg merge
- 12h 27m
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:plugins bug has repro platform:linux
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
anthropics/claude-code#108218 ·
-
area:docs documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#108192 · 1 comment ·
-
area:agents area:plugins bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anthropics/claude-code#108157 ·
-
area:api area:docs documentation enhancement platform:macos
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
anthropics/claude-code#108146 ·
-
area:chrome area:permissions bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
anthropics/claude-code#108139 ·
All issues in anthropics/claude-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
earendil-works/pi-claude-code#36 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Resources: New work of jabodetabekPossibly taken @rmt-svc claimed this today. Openresources
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
railmapgen/rmp-gallery#4167 ·
Maintainers usually reply within 2 days
-
documentation p1
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
microsoft/monaco-editor#5577 ·
Maintainers usually reply within 1 day