✨ added copilot + change tab to ctrl-tab for some existing shortcut
This commit is contained in:
parent
b0324c399e
commit
d955e57ce8
2 changed files with 18 additions and 16 deletions
3
init.lua
3
init.lua
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue