diff options
author | Chris Patti <feoh@feoh.org> | 2023-04-27 16:20:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 16:20:27 -0400 |
commit | 0470d07c8c44f270bd64d0d11f5ebb8d994a1c00 (patch) | |
tree | 8eef64e449a7c4463dc9cc2d0a052b9501bffd86 /init.lua | |
parent | 30411154154d4a9ee3361a31c7bd2007a733821b (diff) | |
parent | efdfd6ed82c5d3c069f9b9240407375669f71e25 (diff) |
Merge pull request #289 from victorwallsten/master
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 {}, |