This commit is contained in:
2025-09-07 12:13:29 +02:00
parent 1c933f1054
commit c9395198b6
7 changed files with 35 additions and 31 deletions

View File

@@ -5,16 +5,20 @@
-- https://github.com/moll/vim-bbye
--
local opts = { silent = true, noremap = true }
return {
{
'moll/vim-bbye',
keys = {
{ '<leader>bc', '<CMD>Bdelete<CR>', desc = '[c]lose current buffer' },
{ '<leader>bc', '<CMD>Bdelete<CR>', desc = '[c]lose current buffer', opts },
{
'<leader>bC',
'<CMD>bufdo :Bdelete<CR>',
desc = '[C]lose all buffers',
opts,
},
{ '<C-c>', '<CMD>Bdelete<CR>', desc = 'Close current buffer', opts, hidden = true },
},
},
}