feat: github copilot intergration

This commit is contained in:
2024-12-31 12:55:08 +01:00
parent 2eb6e7ec6f
commit 223ebb264b
2 changed files with 15 additions and 0 deletions

View File

@@ -7,4 +7,8 @@ local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
map("i", "<C-l>", function ()
vim.fn.feedkeys(vim.fn['copilot#Accept'](), '')
end, { desc = "Copilot Accept", noremap = true, silent = true })
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")