Change cmp.mapping.scroll_docs to <C-b> and <C-f> for scroll up and down
respectively
This commit is contained in:
parent
5f05457ba2
commit
9583385c28
4
init.lua
4
init.lua
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue