[Bufdelete] Replace with bufremove, because bufdelete is deprecated
This commit is contained in:
parent
df72ebda9e
commit
fa358c9843
@ -1,9 +0,0 @@
|
|||||||
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
|
|
||||||
}
|
|
||||||
|
|
6
nvim/lua/plugins/nav/bufremove.lua
Executable file
6
nvim/lua/plugins/nav/bufremove.lua
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"echasnovski/mini.bufremove",
|
||||||
|
config = function ()
|
||||||
|
vim.keymap.set( 'n', '<C-x>', ':bdelete<CR>', { silent = true, noremap = true, desc = 'Remove buffer' } );
|
||||||
|
end,
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user