macvim-dev / macvim-dev/macvim
Normal mode 'r' key doesn't work with macron / IM input
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
In macOS, you can enter macron input using an Option key sequence. E.g. Typing <M-e>, then i should result in "í" being inputted. This works in insert mode, but if you do this in the replace mode (r command in normal mode) it doesn't work. The above key sequence will enter ´, while the i will be ignored.
This can be worked around by disabling "Draw marked text inline" in advanced preferences but is not ideal, and there may be issues with how the replace mode interfaces with other input methods (IM) as well, so investigate and fix that.
Original discussion: https://groups.google.com/forum/#!topic/vim_mac/9JuxOuUFqgg
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 reported macOS Option-key sequence in replace mode (r) and compare it with insert mode, focusing on marked-text and input-method handling. Done means the sequence produces the accented character while replacing a character, without disabling “Draw marked text inline.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100