From 34752e8b7f2a9f4ab07d67243ee5816e26387fde Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Sun, 1 Dec 2024 15:34:48 -0500 Subject: [PATCH] Add copilot --- lua/plugins/copilot.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/plugins/copilot.lua 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 + }, +}