Map IME composition input to Latin characters in non-insert mode.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
CJK languages have a character count that far exceeds the number of keys on a keyboard, requiring multiple keystrokes to compose a single character. This makes it impossible to use a simple langmap to control Vim's operations. Traditionally, the autoSwitchInputMethod approach is used to automatically switch input methods, but this method has some drawbacks:
- Unable to maintain consistent input method after switching between insert/normal mode
- Requires additional dependencies (im-select)
- Needs system permissions
- Perceptible delay when switching from insert mode to normal mode (based on my own experience)
Describe the solution you'd like
Map the input of IME composition to the corresponding Latin execution of vim operations.
Additional context
I will provide a PR to implement this feature.
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
The issue names no files, tests, or entry points. Start by locating the existing input and keybinding handling for non-insert mode, then define how IME composition maps to Latin Vim operations and verify that the behavior avoids the listed input-method switching drawbacks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100