Vim Command to Save and Exit


To be honest, there isn't a command to save and exit. But, Vim's command line mode is powerful enough to pipeline both the save and exit commands.

It's important to understand that Vim does not have complex commands. Instead, Vim has simple commands that can be combined together to accomplish complex actions.