From c01af2e8753758ebf2c13c466058f66c9eb4fc8e Mon Sep 17 00:00:00 2001 From: Rahul Gavhar <138155613+rahulgavhar@users.noreply.github.com> Date: Fri, 31 May 2024 23:55:09 +0530 Subject: [PATCH] gco and gcO create conflicts inside Neovim as both have gc prefix --- lua/lazyvim/config/keymaps.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 2bb782fc..66979ed7 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -76,8 +76,8 @@ map("v", "<", "", ">gv") -- commenting -map("n", "gco", "oVcxnormal gccfxa", { desc = "Add Comment Below" }) -map("n", "gcO", "OVcxnormal gccfxa", { desc = "Add Comment Above" }) +map("n", "cmb", "oVcxnormal gccfxa", { desc = "Add Comment Below" }) +map("n", "cma", "OVcxnormal gccfxa", { desc = "Add Comment Above" }) -- lazy map("n", "l", "Lazy", { desc = "Lazy" })