diff --git a/nvim/lua/plugins/nav/bufremove.lua b/nvim/lua/plugins/nav/bufremove.lua index 2cb4474..067a7db 100755 --- a/nvim/lua/plugins/nav/bufremove.lua +++ b/nvim/lua/plugins/nav/bufremove.lua @@ -1,6 +1,7 @@ return { "echasnovski/mini.bufremove", config = function () - vim.keymap.set( 'n', '', ':bdelete', { silent = true, noremap = true, desc = 'Remove buffer' } ); + _G.MiniBufremove = require( 'mini.bufremove' ); + vim.keymap.set( 'n', '', ':lua MiniBufremove.delete()', { silent = true, noremap = true, desc = 'Remove buffer' } ); end, }