Compare commits

...

2 commits

Author SHA1 Message Date
Salar Rahmanian d8983796e9 Merge pull request 'copilot setting update' (#12) from copilot-setting-update into main
Reviewed-on: #12
2024-08-16 18:44:05 -07:00
Salar Rahmanian 59359e9d5e copilot setting update 2024-08-16 18:38:27 -07:00

View file

@ -2,7 +2,12 @@ return {
"github/copilot.vim",
lazy = false,
config = function()
vim.api.nvim_set_keymap("i", "<C-Tab>", 'copilot#Accept("<End>")', { silent = true, script = true, expr = true })
vim.api.nvim_set_keymap(
"i",
"<C-Tab>",
'copilot#Accept("\\<CR>")',
{ silent = true, script = true, expr = true, replace_keycodes = false }
)
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
end,