change cmp confirm mapping
This commit is contained in:
parent
c3fddb21bc
commit
fcbb6c3ad4
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -506,7 +506,7 @@ cmp.setup {
|
|||
['<C-d>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete {},
|
||||
['<CR>'] = cmp.mapping.confirm {
|
||||
['<C-s>'] = cmp.mapping.confirm {
|
||||
behavior = cmp.ConfirmBehavior.Replace,
|
||||
select = true,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue