diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/bufdelete.lua b/users/price/dots/.config/nvim/lua/plugins/configs/bufdelete.lua index 56474766..318f18c1 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/bufdelete.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/bufdelete.lua @@ -11,7 +11,15 @@ return { "famiu/bufdelete.nvim", cmd = "Bdelete", keys = { - { "", "Bdelete", desc = "Close Buffer" }, + { "", "Bdelete", desc = "Close Buffer", mode = { "", "!", "v" } }, + { + "", + function() + require("bufdelete").bufdelete(0, true) + end, + desc = "Close Buffer", + mode = { "t" }, + }, }, }, }