Can't type words using dead keys (like "já") with imap jk Esc and iBus enabled
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
VSCodeVim mistakes keystrokes when iBus is enabled, a composed imapping is enabled and a dead key is pressed.
To Reproduce
- Use this on vimrc:
imap jk <Esc> - Enable iBus (Linux)
- Enter insert mode
- Try to type fast:
já(key j, key `, key a) - It displays some random text, like ´lj´ (with grave accents around, can't display them here because of markdown
Expected behavior
Display the desired word já
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.30.1
- VSCode version: 1.103.2
- OS: Linux Mint Cinnamon 21.3 64-bit
Additional context
Add any other context about the problem here.
Contributor 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.
Research direction
Start by reproducing the issue with iBus enabled, imap jk <Esc>, and the input sequence j, dead key, a on Linux. Trace the extension's keyboard and insert-mode handling to find where composed characters are altered; done means já is displayed correctly without breaking the mapping behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100