Skip to content

Commit

Permalink
Switch cmp up mapping from C-d to C-b to match regular vim up key (nv…
Browse files Browse the repository at this point in the history
  • Loading branch information
aripollak authored and chrisdd2 committed Mar 24, 2024
1 parent 76c5b1e commit f8f169b
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 f8f169b

Please sign in to comment.