diff --git a/lua/keymaps.lua b/lua/keymaps.lua index faabbfa..fb6a6ac 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -47,7 +47,7 @@ vim.keymap.set('n', 'bd', function() -- Get current buffer local buf = vim.api.nvim_get_current_buf() -- Switch to different buffer - vim.cmd 'bp' + vim.cmd 'exe "norm \\"' -- Delete saved buffer vim.api.nvim_buf_delete(buf, {}) end, { desc = '[B]uffer [D]elete' })