:qa
quits all open windows/buffers/splits/tabs
(aliases: :qall
:quitall
)
Vim documentation for :qa
For help on this command in Vim: :help :qa
:qa!
will quit without giving an option to save if it’s modified.
:wqa
will write all changed buffers and then quit.
:wqa!
will write all changed buffers, even readonly ones, and then quit.