#Press 'Esc' to change from Edit Mode to Command Mode
#Exit
:q
#Force quit without saving
:q!
#Save file and quit
:wq
#press "Esc" and than
#if esc doesnt work it means you are on easy mode use "control" + "o"
:wq #to save and quit
:q #to quit
:q! #to force quit
wq – Save the file and exit Vim