diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua new file mode 100644 index 0000000..72850dd --- /dev/null +++ b/lua/plugins/copilot.lua @@ -0,0 +1,11 @@ +return { + { + "github/copilot.vim", + config = function() + vim.g.copilot_no_tab_map = true + vim.g.copilot_assume_mapped = true + + vim.keymap.set("i", "", "copilot#Accept('')", {noremap = true, silent = true, expr=true, replace_keycodes = false }) + end + }, +}