Add default mapping as the same as native mapping.
This commit is contained in:
@@ -85,6 +85,8 @@ return function()
|
||||
['<Up>'] = mapping(mapping.select_prev_item({ behavior = types.cmp.SelectBehavior.Select }), { 'i' }),
|
||||
['<C-n>'] = mapping(mapping.select_next_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i' }),
|
||||
['<C-p>'] = mapping(mapping.select_prev_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i' }),
|
||||
['<C-y>'] = mapping(mapping.confirm({ select = false }), { 'i' }),
|
||||
['<C-e>'] = mapping(mapping.abort(), { 'i' }),
|
||||
},
|
||||
|
||||
formatting = {
|
||||
|
||||
Reference in New Issue
Block a user