macvim-dev / macvim-dev/macvim
Escape key no longer works in MacVim
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am running MacVim 8.1.950 and macOS 10.14.3. Somewhere in the last couple of updates, or perhaps after upgrading to Mojave, the escape key quit working for me when using MacVim. If I am in insert mode and press escape, nothing happens. Ctrl-[ does work, and I can also do :map ii and use that. But this is a huge hassle after decades of using Vim.
In terminal, on the command line, escape works in Vim. In VimR, escape works in the gui. I have only noticed the problem when using MacVim. It was also happening on at least one version prior to 8.1.950. This problem has been persistent for a while through multiple upgrades to Mojave and to MacVim.
Any suggestions?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 macOS 10.14.3 的 MacVim 8.1.950 中重现该问题,将 Escape 与 Ctrl-[ 以及 terminal Vim 和 VimR 进行比较。跟踪 MacVim GUI 对 Escape 键的处理;当 Escape 能够可靠地退出插入模式,且不影响其他 Vim 环境中的正常行为时,即可完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100