diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 3829791..5f3072e 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -1,4 +1,9 @@ return { "github/copilot.vim", lazy = false, + config = function () + vim.api.nvim_set_keymap('i', '', 'copilot#Accept("")', { silent = true, script = true, expr = true }) + vim.g.copilot_no_tab_map = true; + vim.g.copilot_assume_mapped = true; + end }