Doesn't work at all on Android tablet
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- frontend, mobile-dev
Research direction
Start by reproducing the issue in the CodeMirror Vim keybindings demo on an Android tablet, using both the native touch keyboard and an external Bluetooth keyboard. Inspect the key detection and text insertion behavior; done means hjkl and Esc work in Vim normal mode without inserting characters or leaving the user stuck in insert mode.
Written by the indexing model from the issue text.
Description
I use CodeMirror mostly through Obsidian. It works amazingly well on all my devices, including iOS devices.
But when using it on an Android phone or tablet, the basics of Vim keybindings aren't working.
For example, when using hjkl to move in normal mode, characters appear in the text while moving.
Escaping sometimes doesn't work and I get stuck in insert mode.
It seems that the detection of keys is just flaky and messes with the default text insertion.
I have issues with the native touch keyboard and with external bluetooth keyboards.
I have these issues both in Obsidian (which embeds CodeMirror) and on the website of CodeMirror that demos Vim keybindings.
https://github.com/user-attachments/assets/8f436739-623d-4f62-87df-5f3a03b5afab
Device: Lenovo Tab M11 4GB/128GB
- 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 45/100
replit/codemirror-vim#243 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
replit/codemirror-vim#239 ·
All issues in replit/codemirror-vim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·