neovim-config/lua/plugins/copilot-chat.lua

18 lines
410 B
Lua
Raw Normal View History

2024-08-29 18:36:20 +00:00
return {
"CopilotC-Nvim/CopilotChat.nvim",
branch = "canary",
keys = {
-- disable this keymap since it conflicts with avante.nvim
{ "<leader>aa", false, mode = { "n", "v" } },
2024-08-29 18:36:20 +00:00
-- replace the keymap with a new one
{
"<leader>aA",
function()
return require("CopilotChat").toggle()
end,
desc = "Toggle (CopilotChat)",
mode = { "n", "v" },
},
},
}