From da371b448366db7041133023c0bdac74a1896f64 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 8 Jun 2024 22:14:47 -0700 Subject: [PATCH] Updated cmp keymappings --- config/plugins/cmp.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/plugins/cmp.nix b/config/plugins/cmp.nix index cbb00fe..4e1ec14 100644 --- a/config/plugins/cmp.nix +++ b/config/plugins/cmp.nix @@ -3,8 +3,10 @@ enable = true; settings = { mapping = { - "" = "cmp.mapping.scroll_docs(-4)"; - "" = "cmp.mapping.scroll_docs(4)"; + "" = "cmp.mapping.select_next_item()"; + "" = "cmp.mapping.select_prev_item()"; + "" = "cmp.mapping.scroll_docs(-4)"; + "" = "cmp.mapping.scroll_docs(4)"; "" = "cmp.mapping.complete()"; "" = "cmp.mapping.abort()"; # Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.