nvim/nvim-coc/lua/plugins/utility/bufdelete.lua

10 lines
235 B
Lua
Executable File

return {
-- delete a buffer
'famiu/bufdelete.nvim',
config = function()
local map = vim.api.nvim_set_keymap
map('n', '<C-w>', '<cmd>Bdelete<CR>', { silent = true, desc = "close current buffer" })
end
}