When we type :qa or :wqa, neovim quits/save-and-quits all buffers. This also closes any terminal buffers that are open, even if there are pending jobs running. Those jobs just get killed!

Is there a way to have neovim ask for a confirmation when a terminal window is open (like trying to do a :qa when there are edited buffers). This way the running jobs aren't killed, when I accidently type :qa to quit vim.

1 Answer 1


I installed this script. It does the job, but the presented message is a general one. That may be confusing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.