copilot recomendations

This commit is contained in:
yaso 2026-07-06 14:41:56 +02:00
parent 7d2ce1c63f
commit 71ab6c4ceb
2 changed files with 12 additions and 6 deletions

View file

@ -1,12 +1,17 @@
return {
"github/copilot.vim",
lazy = false,
-- lazy = false,
cmd = "Copilot",
keys = {
{
"<C-l",
'copilot#Accept("\\<CR>")',
mode = "i",
expr = true,
replace_keycodes = false,
},
},
config = function()
vim.g.copilot_enabled = false
vim.g.copilot_no_tab_map = true
vim.keymap.set('i', '<C-l>', 'copilot#Accept("\\<CR>")', {
expr = true,
replace_keycodes = false
})
end,
}