changing some bindings

This commit is contained in:
Lorne Stalker 2023-08-17 09:01:39 +01:00
parent 46d6d74b17
commit 94882f3d12
4 changed files with 32 additions and 15 deletions

View file

@ -1,5 +1,23 @@
return {
{
"github/copilot.vim",
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = {
enabled = true,
auto_trigger = true,
keymap = {
accept = "<Right>",
accept_word = false,
accept_line = false,
next = "<A-Down>",
prev = "<A-Up>",
dismiss = "<C-]>",
}
}
})
end
},
}