Skip to content

Commit

Permalink
Merge pull request #1 from nvim-lua/master
Browse files Browse the repository at this point in the history
Switch cmp up mapping from C-d to C-b to match regular vim up key (nvim-lua#549)
  • Loading branch information
OuthBack authored Dec 23, 2023
2 parents a079fc7 + e39a8bc commit 956a09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ cmp.setup {
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-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete {},
['<CR>'] = cmp.mapping.confirm {
Expand Down

0 comments on commit 956a09f

Please sign in to comment.