I saw this post from Joel Spolsky lately, noting that Stack Overflow has been helping 1 million developers exit VIM. It’s a funny post, but one that has some truth in it. I’ve gotten into VIM, almost always from git, but sometimes in Linux, and I often Google the exit.
Fortunately I’ve learned a few things and usually remember :wq.
Other do too, since I actually didn’t need to Google that during a presentation where I committed without the –m, and got into VIM. I actually remembered :wq, posted just “:wq” on Twitter, and a few people laughed, since it’s maybe the one VIM command quite a few people need to remember.
Hopefully just typing this post will tatoo that sequence into my head so I never end up reading the command list on Stack Overflow again.
If you want to learn more about VIM, here’s a cheat sheet.