vim Exiting Vim if multiple files are opened


Example

:wqall

Exiting multiple files with saving contents

:qall!

Exiting multiple files without saving contents