Skip to content

Commit e39a8bc

Browse files
authored
Switch cmp up mapping from C-d to C-b to match regular vim up key (#549)
1 parent 76c5b1e commit e39a8bc

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
@@ -624,7 +624,7 @@ cmp.setup {
624624
mapping = cmp.mapping.preset.insert {
625625
['<C-n>'] = cmp.mapping.select_next_item(),
626626
['<C-p>'] = cmp.mapping.select_prev_item(),
627-
['<C-d>'] = cmp.mapping.scroll_docs(-4),
627+
['<C-b>'] = cmp.mapping.scroll_docs(-4),
628628
['<C-f>'] = cmp.mapping.scroll_docs(4),
629629
['<C-Space>'] = cmp.mapping.complete {},
630630
['<CR>'] = cmp.mapping.confirm {

0 commit comments

Comments
 (0)