DEV Community

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

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

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

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

Collapse
 
akiramakes profile image
Akira

ahhhh :xa worked! you're a godsend.