You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/lua/custom/plugins/copilot.lua

16 lines
358 B
Lua

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,
}