diff --git a/lua/keymaps.lua b/lua/keymaps.lua index fb6a6ac..8bd1762 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 'exe "norm \\"' + vim.cmd 'silent! :exe "norm \\"' -- Delete saved buffer vim.api.nvim_buf_delete(buf, {}) end, { desc = '[B]uffer [D]elete' })