macvim-dev / macvim-dev/macvim

Terminal mode keymap does not work if terminal is producing lots of output

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

还没有人认领这个 Issue。

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

描述

Steps to reproduce

  • Use the following vimrc:
set nocompatible
tnoremap <C-w>t <C-w>:tabnew<CR>
  • :terminal seq 1 10000000
  • Type <C-w>t

Expected behavior: A new tab is opened
Actual behavior: Doesn't work most of the time


It only happens if there's :terminal window producing lots of output.
Only MacVim GUI mode has this issue.


  • MacVim version: snapshot-151
  • macOS version: 10.13.6

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先,使用提供的 vimrc 在 MacVim GUI 模式下复现该问题,然后运行 :terminal seq 1 10000000,并在输出处于活动状态时测试映射的 t 输入。将预期的新标签页与实际行为进行比较,并验证修复在大量终端输出下能够正常工作。

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

评估

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

把新 issue 发到你的邮箱

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