Skip to content

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

Description

@ubaldot

... 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions