diff --git a/nvim.configlink/init.lua b/nvim.configlink/init.lua index 874340f..062dc73 100644 --- a/nvim.configlink/init.lua +++ b/nvim.configlink/init.lua @@ -217,7 +217,16 @@ require('packer').startup(function(use) [''] = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Insert, select = true, - }) + }), + [''] = cmp.mapping.confirm({ + behavior = cmp.ConfirmBehavior.Replace, + select = true, + }), + [''] = cmp.mapping(function(fallback) + if require('luasnip').expand_or_jumpable() then + require('luasnip').expand_or_jump() + end + end, {"i", "s"}) }, sources = { { name = 'nvim_lua' },