howto press and type in ‘:wq!’ and press to save the file and exit VIM. code example Example: vim save and quit // Save & exit :wp