Files
nvim/lua/plugins/default/copilot.lua
Zelong Kuang 8c11269da8 Update
2025-10-17 20:03:30 +11:00

32 lines
593 B
Lua

return {
{
"CopilotC-Nvim/CopilotChat.nvim",
opts = {
model = "gemini-2.5-pro",
},
},
{
"zbirenbaum/copilot.lua",
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",
},
},
opts = {
copilot_model = "gemini-2.5-pro",
keymap = {
accept = "<C-l>",
},
},
},
}