github / github/copilot.vim

Copilot CLI can run in headless mode and can communicate through RPC-JSON

未关闭
#294 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Vim Script
星标
11.7k
派生
810
PR 合并指标
30 天内没有已合并 PR

描述

... and so does Vim through `ch_open()`. :)

What about improving this plugin by exploiting Vim job & channels to communicate to copilot CLI?

I would see an interface made by a window split where one window contains a prompt buffer (with history and omnicomplete function triggered when hitting `/` key), and another window to display the response from the server.

For copilot CLI commands that require selection, like for example model selection and resume sessions, one could use popups and the statusline can be embellished by including the AIC for the current session.

... these are ideas just from top of my head.

贡献指南

打开贡献指南

调研方向

Start by reviewing the plugin's existing command and session entry points, then investigate Vim job and channel support alongside the Copilot CLI's headless RPC-JSON interface. Before implementation, clarify which parts of the proposed prompt, response, popup, and statusline experience are required; done should include a working end-to-end communication flow and the agreed UI behavior.

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

评估

技术栈
vim
领域
cli, developer-experience
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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