From eccdbccbfc69c40e54808bca4731c06fe488a674 Mon Sep 17 00:00:00 2001 From: Victor Wallsten <94681407+victorwallsten@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:18:56 +0100 Subject: [PATCH] Add , mappings to nvim-cmp setup Fixes #197 --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 7289032..bdc5a99 100644 --- a/init.lua +++ b/init.lua @@ -461,6 +461,8 @@ cmp.setup { end, }, mapping = cmp.mapping.preset.insert { + [''] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert }), + [''] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert }), [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete {},