Instala este plugin https://github.com/dpayne/CodeGPT.nvim
en init.lua agregar
use("nvim-lua/plenary.nvim") use("MunifTanjim/nui.nvim") use("dpayne/CodeGPT.nvim")
https://github.com/dpayne/CodeGPT.nvim#commands