diff --git a/lua/keymaps.lua b/lua/keymaps.lua index feddd39..595fa8e 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -42,3 +42,6 @@ function _G.set_terminal_keymaps() end vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()') + +-- buffer closing +nnoremap("q", ":Bdelete") diff --git a/lua/plugins.lua b/lua/plugins.lua index 524c7ec..91ef091 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -141,6 +141,11 @@ return require('packer').startup(function(use) end, }) + -- buffer closing + use({ + "sar/bbye.nvim" + }) + if packer_bootstrap then require('packer').sync() end