From 2988a22eb87fb0846ad10abeddeb777f34a9cb32 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Fri, 9 Jul 2021 15:26:03 +0530 Subject: [PATCH] mappings.lua: Fix ctrl + q when vertical/horizontal split buffer is open currently when a vertical or horizontal split buffer is open and ctrl + q is used, then it removes the buffer content but not the actual buffer, further it duplicates an existing buffer content. This commit fixes that --- lua/mappings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index 83f7af0..e0f8f36 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -41,7 +41,7 @@ map("n", "", ":w ", opt) map("n", "/", ":CommentToggle", opt) map("v", "/", ":CommentToggle", opt) -map("n", "", ":bpspbnbd! ", opt) +map("n", "", ":bd! ", opt) -- compe stuff