[iOS, Bluetooth keyboard] { and } movement doesn't work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start with dev/web-demo.html and trace the keyboard-event handling for the reported iOS Safari sequence, especially { and } with AltGr or other modifiers. Reproduce it using a French Bluetooth keyboard on iOS 18.6 and compare with the working Firefox behavior; done means both movement keys move the cursor in normal mode instead of inserting characters.
Written by the indexing model from the issue text.
Description
On a French Bluetooth keyboard on iOS (18.6), the { and } movement keys (in normal mode) do not move the cursor as normal, but instead insert the corresponding character.
I observe this problem in (iOS) Safari on the test site. As a point of comparison, doing the same does work in Firefox on Windows 11 (on a French keyboard, too, where } involves AltGr).
Here is the sequence printed by the site (for iOS in Safari):
164 text
163 keypress } Minus
162 handleKey <A-}>
161 keydown } Minus
160 handleKey
159 keydown Alt AltLeft
158 keypress Escape Escape
Maybe this is part of a more general issue with handling (non-US?) external keyboards and characters with dead/modifier keys in normal mode? The following were fixed, in the past, for instance:
- https://github.com/replit/codemirror-vim/issues/125
- https://github.com/replit/codemirror-vim/issues/91
Thanks!
- Dominant language
- JavaScript
- Stars
- 470
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 replit/codemirror-vim
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
replit/codemirror-vim#276 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
replit/codemirror-vim#264 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
replit/codemirror-vim#251 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
replit/codemirror-vim#239 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
replit/codemirror-vim#238 ·
All issues in replit/codemirror-vim
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·