Files
nvim/lua/plugins/default/copilot.lua

32 lines
593 B
Lua
Raw Normal View History

2025-05-13 19:37:28 +10:00
return {
2025-10-17 20:03:30 +11:00
{
"CopilotC-Nvim/CopilotChat.nvim",
opts = {
model = "gemini-2.5-pro",
},
},
2025-09-21 20:43:38 +10:00
{
"zbirenbaum/copilot.lua",
2025-10-17 20:03:30 +11:00
keys = {
{
-- Open in the current working directory
"<leader>ad",
"<cmd>Copilot detach<cr>",
desc = "Copilot detach",
},
{
-- Open in the current working directory
"<leader>at",
"<cmd>Copilot toggle<cr>",
desc = "Copilot toggle",
},
},
2025-09-21 20:43:38 +10:00
opts = {
2025-10-17 20:03:30 +11:00
copilot_model = "gemini-2.5-pro",
keymap = {
accept = "<C-l>",
2025-09-21 20:43:38 +10:00
},
},
},
2025-05-13 19:37:28 +10:00
}