Quit


These are the ways to quit vim. (when in Normal mode press either of the following:)


:q    quit            - If there was no change since last write.
:q!   force-quite     - Abandon changes.
:wq   write-and-quit