Command to exit quit from Vim

If you want to come out of Vim editor i.e exit or quit from there then you need to follow these steps:

Hit ESC key to come of insert mode.

Press the :qa command and hit enter.

:qa

THis will take you out of vim editor.