Add <C-u>/<C-d> cmp mapping to scroll cmp docs

pull/750/head
Rafael Zasas 1 year ago committed by GitHub
parent cb1f16b8ca
commit 33397b0d00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -679,6 +679,10 @@ require('lazy').setup({
-- Select the [p]revious item
['<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),
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet.

Loading…
Cancel
Save