diff --git a/nvim/lua/plugins/nav/bufdelete.lua b/nvim/lua/plugins/nav/bufdelete.lua deleted file mode 100755 index 2e25db7..0000000 --- a/nvim/lua/plugins/nav/bufdelete.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - -- delete a buffer - 'famiu/bufdelete.nvim', - config = function() - local map = vim.api.nvim_set_keymap - map('n', '', 'Bdelete', { silent = true, desc = "close current buffer" }) - end -} - diff --git a/nvim/lua/plugins/nav/bufremove.lua b/nvim/lua/plugins/nav/bufremove.lua new file mode 100755 index 0000000..2cb4474 --- /dev/null +++ b/nvim/lua/plugins/nav/bufremove.lua @@ -0,0 +1,6 @@ +return { + "echasnovski/mini.bufremove", + config = function () + vim.keymap.set( 'n', '', ':bdelete', { silent = true, noremap = true, desc = 'Remove buffer' } ); + end, +}