From bae88948b71696083cd0830801fb5fd4915cc89e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 2 Sep 2023 16:38:01 -0500 Subject: [PATCH] refactor(nvim): make cmp docs easier to scroll These bindings are not exactly "Vim" styled, but they are *much* easier to reach and use. --- dots/.config/nvim/lua/plugins/configs/cmp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/cmp.lua b/dots/.config/nvim/lua/plugins/configs/cmp.lua index 0011f32e..b42882b5 100644 --- a/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -192,8 +192,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({