From 43f7631c18436e27a4b77f7770bda735e92b159d Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Wed, 25 Sep 2024 08:32:26 +0200 Subject: [PATCH] added cmp scrolling --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 62fa03a..0cecd16 100644 --- a/init.lua +++ b/init.lua @@ -475,6 +475,10 @@ require('lazy').setup( [''] = cmp.mapping(function (_) cmp.confirm({select = true}) end, { "i", "s" }), [''] = cmp.mapping(function (_) snippy.next() end, { "i", "s" }), [''] = cmp.mapping(function (_) snippy.previous() end, { "i", "s" }), + [''] = cmp.mapping.scroll_docs(4), + [''] = cmp.mapping.scroll_docs(-4), + [''] = cmp.mapping.select_next_item(), + [''] = cmp.mapping.select_prev_item(), }, } end,