From 3656d11b1359d5a7f52b79670c05e253673d2e40 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 15 Oct 2024 16:54:13 -0500 Subject: [PATCH] refactor(nvim): use `C-j` & `C-k` to scroll cmp docs Note: this does mean that C-k binds for entering raw codes no longer works by default. --- users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua index ce7ff56e..3a400e07 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -240,8 +240,8 @@ return { end, }, mapping = { - [""] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }), + [""] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }), + [""] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }), [""] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }), [""] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `` mapping. [""] = cmp.mapping({