feat: close buffers with leader-q
This commit is contained in:
parent
9b746f3f95
commit
e40ad7ba9b
2 changed files with 8 additions and 0 deletions
|
@ -42,3 +42,6 @@ function _G.set_terminal_keymaps()
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
|
vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
|
||||||
|
|
||||||
|
-- buffer closing
|
||||||
|
nnoremap("<leader>q", ":Bdelete<CR>")
|
||||||
|
|
|
@ -141,6 +141,11 @@ return require('packer').startup(function(use)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- buffer closing
|
||||||
|
use({
|
||||||
|
"sar/bbye.nvim"
|
||||||
|
})
|
||||||
|
|
||||||
if packer_bootstrap then
|
if packer_bootstrap then
|
||||||
require('packer').sync()
|
require('packer').sync()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue