feat: close buffers with leader-q

This commit is contained in:
mandlm 2022-02-21 19:54:49 +01:00
parent 9b746f3f95
commit e40ad7ba9b
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 8 additions and 0 deletions

View File

@ -42,3 +42,6 @@ function _G.set_terminal_keymaps()
end
vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
-- buffer closing
nnoremap("<leader>q", ":Bdelete<CR>")

View File

@ -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