DEV Community

loading...

Discussion on: Self-note: Try this to write a commit message when you're stuck in VIM

Collapse
darkwiiplayer profile image
DarkWiiPlayer

Best way to exit vim:

  • Spam Escape a bunch of times
  • :xa to save all work and exit
  • qa! to discard all changes and exit

(or, you know, one of the many funny alternatives)

Collapse
akiramakes profile image
Akira Author

Thank you!! This git repo is simultaneously hilarious and terrifying. :D Good find.

Collapse
akiramakes profile image
Akira Author

ahhhh :xa worked! you're a godsend.