22
Chownas
8y

Oldie but goldie:
"I started using vim a while ago and haven't stopped ever since. Mainly because I don't know how to exit..."

Comments
  • 2
    It's something ESC, shift+ Z n Z I guess.
    Its like a combo move for an ultimate attack.
  • 1
    @H4RD-C0D3R that's save and exit I believe, I use vim but never use that way to exit. There's also <ESC>:q which will fail if there are unsaved changes, <ESC>:wq which is also save and exit, and <esc>:q! which will exit and discard unsaved changes.

    Vim is love, vim is life.
  • 0
    @Artemix did not know that one, thank you! :D
  • 1
    You could also do <Esc>ZZ to save and exit.
Add Comment