feat: keep windows layout when closing buffers

This commit is contained in:
Michael Mandl 2025-04-25 08:27:40 +02:00
parent 100f65c951
commit 994d1b28a1
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
2 changed files with 4 additions and 1 deletions

View file

@ -59,7 +59,7 @@ vim.api.nvim_create_autocmd("TermOpen", {
})
-- buffer closing
nnoremap("gq", ":bdelete<CR>")
nnoremap("gq", ":Bdelete<CR>")
-- toggle search highlighting
vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')