added copilot + change tab to ctrl-tab for some existing shortcut

This commit is contained in:
Frederic Houdemer 2024-02-20 01:57:49 +01:00
parent b0324c399e
commit d955e57ce8
2 changed files with 18 additions and 16 deletions

View file

@ -75,6 +75,7 @@ require('lazy').setup({
-- Detect tabstop and shiftwidth automatically
'tpope/vim-sleuth',
'github/copilot.vim',
-- NOTE: This is where your plugins related to LSP can be installed.
-- The configuration is done below. Search for lspconfig to find it below.
@ -641,7 +642,7 @@ cmp.setup {
behavior = cmp.ConfirmBehavior.Replace,
select = true,
},
['<Tab>'] = cmp.mapping(function(fallback)
['<C-Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_locally_jumpable() then