aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAri Pollak <aripollak@users.noreply.github.com>2023-12-21 15:35:28 -0500
committerGitHub <noreply@github.com>2023-12-21 15:35:28 -0500
commite39a8bce9d25b3bd8d50098fadf13575a4a71b4b (patch)
treee2353487b86172e5ea5e798bc8ea35a31534b29c
parent76c5b1ec57f40d17ac787feb018817a802e24bb6 (diff)
Switch cmp up mapping from C-d to C-b to match regular vim up key (#549)
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index cf4a379..48cf771 100644
--- a/init.lua
+++ b/init.lua
@@ -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 {