Closed Mte90 closed 3 months ago
For me it's just pressing the 'q' key when the modal is in focus.
In my case doesn't work
Hi @Mte90 ,
This is a just a normal window, so :q
should close it. There's also the q
shortcut. I wonder why both of them won't work in your case, do you have any other plugins installed which might interfere?
So a :q
close the content but the buffer is still there.
My mapping is on https://github.com/mte90/dotfiles/blob/master/.config/nvim/lua/mappings.lua
I think that the only mapping involved is this:
-- Close buffer with no window changes, it is executed also on empty buffers
vim.api.nvim_command("cnoreabbrev <expr> q getcmdtype() == ':' && getcmdline() == 'q' ? 'Bdelete' : 'q'")
I have to try it without that.
So without that rule :q
works but not just q
Also if I run
:q
is still there but empty.