use ctrl-j to accept copilot #13

Merged
softinio merged 1 commit from copilot-setting-update-2 into main 2024-08-16 18:52:47 -07:00
Showing only changes of commit 14ba336744 - Show all commits

View file

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