diff options
author | Victor Wallsten <94681407+victorwallsten@users.noreply.github.com> | 2023-04-27 09:33:10 +0200 |
---|---|---|
committer | Victor Wallsten <94681407+victorwallsten@users.noreply.github.com> | 2023-04-27 09:33:10 +0200 |
commit | efdfd6ed82c5d3c069f9b9240407375669f71e25 (patch) | |
tree | 8eef64e449a7c4463dc9cc2d0a052b9501bffd86 /init.lua | |
parent | 30411154154d4a9ee3361a31c7bd2007a733821b (diff) |
Add <C-n>, <C-p> mappings to nvim-cmp setup
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 {}, |