📋 Prerequisite
- Install -> Neovim or the latest patch of Vim (9.0.0185 or newer).
- -> Lazynvim
- -> Copilot for Vim
- -> Github Copilot Subscription
🔧 Configuration
- Add this to your lazy.nvim
plugins.lua
{
"github/copilot.vim",
lazy = false, -- lazy loading
config = function ()
vim.g.copilot_assume_mapped = true
end,
},
💼 Setting up Copilot
- Start Neovim and invoke
:Copilot setup
. - It will authenticate and enable the copilot for you.
- To get the status use
:Copilot status