feat: close buffers with leader-q
parent
9b746f3f95
commit
e40ad7ba9b
|
@ -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 New Issue