From 0783268e30dd8e5b4648164e54baf72e4a6cb83b Mon Sep 17 00:00:00 2001 From: louie Date: Mon, 18 Jul 2022 17:50:03 -0700 Subject: Better buffer deletion --- lua/user/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 8725c59..1b9a2c8 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -39,6 +39,9 @@ keymap("n", "", "gt", opts) keymap("n", "", ":bnext", opts) keymap("n", "", ":bprevious", opts) +-- Close buffer without closing window +keymap("n", "bd", ":b#:bd#", opts) + -- Open Lexplorer --keymap("n", "e", ":Lex 30", opts) -- cgit