Skip to content

Commit ae3a7f8

Browse files
aripollakmayronH
authored andcommitted
Switch cmp up mapping from C-d to C-b to match regular vim up key (nvim-lua#549)
1 parent 0793c5d commit ae3a7f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ cmp.setup {
382382
mapping = cmp.mapping.preset.insert {
383383
['<C-n>'] = cmp.mapping.select_next_item(),
384384
['<C-p>'] = cmp.mapping.select_prev_item(),
385-
['<C-d>'] = cmp.mapping.scroll_docs(-4),
385+
['<C-b>'] = cmp.mapping.scroll_docs(-4),
386386
['<C-f>'] = cmp.mapping.scroll_docs(4),
387387
['<C-Space>'] = cmp.mapping.complete {},
388388
['<CR>'] = cmp.mapping.confirm {

0 commit comments

Comments
 (0)