Change cmp.mapping.scroll_docs to <C-b> and <C-f> for scroll up and down

respectively
This commit is contained in:
Rafael Zasas 2024-03-12 18:25:44 +02:00
parent 5f05457ba2
commit 9583385c28
No known key found for this signature in database
GPG Key ID: 5B74D9CC57DF08A7
1 changed files with 2 additions and 2 deletions

View File

@ -680,8 +680,8 @@ require('lazy').setup({
['<C-p>'] = cmp.mapping.select_prev_item(),
-- scroll [u]p and [d]own the documentation window
["<C-u>"] = cmp.mapping.scroll_docs(-4),
["<C-d>"] = cmp.mapping.scroll_docs(4),
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.