Instala este plugin https://github.com/dpayne/CodeGPT.nvim

Instalando el plugin usando packer

en init.lua agregar

use("nvim-lua/plenary.nvim")
use("MunifTanjim/nui.nvim")
use("dpayne/CodeGPT.nvim")

Lista de comandos

https://github.com/dpayne/CodeGPT.nvim#commands