Some Vim Commands

  • save and quit
:wq
:x
ZZ
  • Go back to shell but do not save
:sh
^D # back to vim