use ctrl-j to accept copilot

This commit is contained in:
Salar Rahmanian 2024-08-16 18:52:27 -07:00
parent d8983796e9
commit 14ba336744

View file

@ -4,7 +4,7 @@ return {
config = function()
vim.api.nvim_set_keymap(
"i",
"<C-Tab>",
"<C-J>",
'copilot#Accept("\\<CR>")',
{ silent = true, script = true, expr = true, replace_keycodes = false }
)