The command :wqa
does not work with new files. For example, if you create some empty files and save them with :wqa
, you will not find these files after you quit vim. They are not saved at all.
The reason is, :wqa
only saves changed buffers (unlike :wq
).
My question is, what is the easiest way to make :wqa
work like :wq
on all changed and unchanged buffers?