I'm victim of a witchcraft. Likely my own.
There's no Vim session open, based on the empty output of pidof vim and can open a new or existing file just fine. When I quit it with :q, however, I see to ...
I have next problem: When I use :term buffers the :wqa command produces error:
Which is quite expected because terminal buffers isn't writable. BUT the :wa and :q separatly work.
This is strange.
I have an autocommand on ExitPre like this:
autocmd ExitPre * call PromptSaveSession()
I'd like to avoid prompting to save the session if vim was forcefully exited, e.g. ':q!' or ':qa!'.
Is there a ...