change accept autocomplete with TAB to CTRL+l

This commit is contained in:
2026-04-29 14:08:18 +02:00
parent 14da6a657b
commit 36fe97222a
3 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,11 @@
return {
"github/copilot.vim",
lazy = false,
config = function()
vim.g.copilot_no_tab_map = true
vim.keymap.set('i', '<C-l>', 'copilot#Accept("\\<CR>")', {
expr = true,
replace_keycodes = false
})
end,
}