Compare commits

...

2 commits

Author SHA1 Message Date
Salar Rahmanian e5cf7829a4 Merge pull request 'use ctrl-j to accept copilot' (#13) from copilot-setting-update-2 into main
Reviewed-on: #13
2024-08-16 18:52:46 -07:00
Salar Rahmanian 14ba336744 use ctrl-j to accept copilot 2024-08-16 18:52:27 -07:00

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 }
) )