This is a fork of Copilot.vim to go beyond the LSP and provide Copilot Chat functionality without having to leave vim.
Nvim folks will be able to use CopilotChat.nvim for a similar experience.
| Command | Description |
|---|---|
:CopilotChat |
Opens a new copilot window (default vsplit right) |
:CopilotConfig |
Open config.json for default settings when opening a new CopilotChat window |
X:CopilotPrompts |
View / select prompt templates |
:CopilotModels |
View available modes / select active model |
| Location | Insert | Normal | Action |
|---|---|---|---|
global |
- | <Leader-cc> |
Opens a new chat window :CopilotChat |
<buffer> |
- | <CR> |
Submit current prompt |
:CopilotModels <buffer> |
- | <CR> |
Select the model on the current line for future chat use |
Using vim-plug, Vundle, or any other plugin manager.
- Run
:CopilotChatto open a chat window. You will be prompted to setup your device on first use. - Write your prompt under the line separator and press
<Enter>in normal mode /:SubmitChatMessage - You should see a
Waiting for response..in the buffer to indicate work is being done in the background - 🎉!
