macvim-dev / macvim-dev/macvim

Normal mode 'r' key doesn't work with macron / IM input

未关闭
#837 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Input
主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在替换模式 (r) 下复现报告中的 macOS Option 键序列,并将其与插入模式进行比较,重点关注标记文本和输入法的处理。完成的标准是:该序列在替换一个字符时产生带重音符号的字符,同时不禁用“Draw marked text inline.”

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, vim
领域
desktop, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。