macvim-dev / macvim-dev/macvim
Copy [CMD]+[C] from command/status bar doesn't copy selected characters into the clipboard.
未关闭
还没有人认领这个 Issue。
Feature Request
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Steps to reproduce:
- Start mac vim with empty or no file [mvim]
- Press i and type some letters f.i.: Strange Issue
- Escape out of insert mode.
- Double click on the word Strange to select it.
- Press CMD+C (Strange is now in the clipboard)
- Search for some random characters [/nothing]
- mvim will display in bottom most status/message bar: E486: Pattern not found: nothing
- Double click on the word Pattern in the status/error bar at the bottom of the screen.
- Press CMD+C (Note that the Edit menu flashes)
- Press i for insert mode.
- Press CMD+V
- Note that mvim pastes "Strange" and not "Pattern"
Expected Behaviour:
It should paste Pattern or better yet, if something is selected on the status bar and the Copy command is given to Mac Os x, the selected characters should be copied to the OS clipboard.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先按照列出的步骤在 MacVim 中复现该问题,重点关注底部状态/消息栏中的选择和 CMD+C 处理。跟踪用于该选择的 MacVim 命令和剪贴板路径;完成的标准是复制 “Pattern” 后可以通过 CMD+V 使用它,而不是仍然保留 “Strange”。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100