From 1849485415727dd62de572a3c21fcc4e21acde42 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 8 Mar 2024 09:19:27 +0100 Subject: [PATCH] buffer delete without closing window keymap --- lua/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 7658267..8364bee 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -43,6 +43,9 @@ vim.keymap.set('n', 'cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D] -- Switch in fugitive.vim status window with the current one vim.keymap.set('n', 'gs', 'Gedit :', { desc = '[G]it [S]tatus' }) +-- Delete current buffer without closing window +vim.keymap.set('n', 'bd', 'bpspbnbd', { desc = '[B]uffer [D]elete' }) + -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`