Quitting VIM

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.

About way0utwest

Editor, SQLServerCentral
This entry was posted in Blog and tagged , . Bookmark the permalink.

2 Responses to Quitting VIM

  1. rsterbal says:

    Can you update this post with a link to the command list on Stack Overflow? Maybe this one: https://stackoverflow.com/questions/1276403/simple-vim-commands-you-wish-youd-known-earlier

    • way0utwest says:

      I think you just did, but I’m not trying to provide a list of all commands. If I were, I’d use a different page that’s easier to read than scrolling through a list of Q&A.

      Actually, I’ll update with a different one.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s