This commit is contained in:
Zelong Kuang
2025-10-17 20:03:30 +11:00
parent 68da8f5a24
commit 8c11269da8
20 changed files with 131 additions and 211 deletions

View File

@@ -1,13 +1,30 @@
return {
{
"zbirenbaum/copilot.lua",
"CopilotC-Nvim/CopilotChat.nvim",
opts = {
suggestion = {
keymap = {
accept = "<D-l>",
next = "<D-]>",
prev = "<D-[>",
},
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>",
},
},
},