This commit is contained in:
Tony Thayer-Osborne 2024-04-30 17:00:47 -07:00
parent 67d9612c6a
commit 4bc8257221
No known key found for this signature in database
GPG key ID: 4750FF483E701B75
6 changed files with 266 additions and 0 deletions

View file

@ -0,0 +1,15 @@
return {
'github/copilot.vim',
init = function()
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
end,
config = function()
vim.keymap.set('i', '<C-e>', [[copilot#Accept("\<CR>")]], {
silent = true,
expr = true,
script = true,
replace_keycodes = false,
})
end,
}