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