summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/user/keymaps.lua3
1 files changed, 3 insertions, 0 deletions
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", "<S-Right>", "gt", opts)
keymap("n", "<S-Down>", ":bnext<CR>", opts)
keymap("n", "<S-Up>", ":bprevious<CR>", opts)
+-- Close buffer without closing window
+keymap("n", "<leader>bd", ":b#<CR>:bd#<CR>", opts)
+
-- Open Lexplorer
--keymap("n", "<leader>e", ":Lex 30<cr>", opts)