Add avante.nvim

This commit is contained in:
2024-08-29 14:36:20 -04:00
parent 074cd65873
commit ffb3c9535b
3 changed files with 117 additions and 32 deletions

View File

@@ -0,0 +1,17 @@
return {
"CopilotC-Nvim/CopilotChat.nvim",
branch = "canary",
keys = {
-- disable this keymap since it conflicts with avante.nvim
{ "<leader>aa", false },
-- replace the keymap with a new one
{
"<leader>aA",
function()
return require("CopilotChat").toggle()
end,
desc = "Toggle (CopilotChat)",
mode = { "n", "v" },
},
},
}