diff options
author | Rafael Zasas <42390827+RafaelZasas@users.noreply.github.com> | 2024-03-15 16:12:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 10:12:41 -0400 |
commit | 452e3a73cfc87995c58f8d46effa370da4fd1131 (patch) | |
tree | 4ee03862387081ee7df76dee185e3fcf5928387c /init.lua | |
parent | 7715b7c2eed1a7e6ea02fd6a99a9f006c792dce4 (diff) |
Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750)
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -674,6 +674,10 @@ require('lazy').setup({ -- Select the [p]revious item ['<C-p>'] = cmp.mapping.select_prev_item(), + -- scroll the documentation window [b]ack / [f]orward + ['<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. -- This will expand snippets if the LSP sent a snippet. |