Merge pull request #289 from victorwallsten/master

Add <C-n>, <C-p> mappings to nvim-cmp setup
pull/292/head^2
Chris Patti 2 years ago committed by GitHub
commit 0470d07c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -457,6 +457,8 @@ cmp.setup {
end,
},
mapping = cmp.mapping.preset.insert {
['<C-n>'] = cmp.mapping.select_next_item(),
['<C-p>'] = cmp.mapping.select_prev_item(),
['<C-d>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete {},

Loading…
Cancel
Save