.dotfiles/nvim/lua/plugs/copilot.lua
Martin Larsson 43020a4d12 Large rewrite, simplify keymapping, utilize as much keys from Lazy as
possible. Reduce manually setup plugins and utilize opts instead.
2025-02-23 01:35:23 +00:00

18 lines
406 B
Lua

return {
"github/copilot.vim",
event = "InsertEnter",
init = function()
vim.g.copilot_no_tab_map = true
end,
keys = {
{
"<Right>",
'copilot#Accept("\\<Right>")',
mode = "i",
expr = true,
replace_keycodes = false,
silent = true,
desc = "Copilot Accept with <Right>",
},
},
}