DEV Community

Cover image for How to exit vim & learn vim in 5 minutes
Jordi Enric
Jordi Enric

Posted on

How to exit vim & learn vim in 5 minutes

  • Press Escape, this puts vim in "normal mode".
  • write :q! to quit without saving.
  • write :wq to quit while saving the file.

That's it. Vim is pretty cool and fast once you learn how to use it.

Check this if you want to learn the basics of Vim in 5 minutes:
Vim in 5 minutes


Follow me on twitter for more.
I'm building a newsletter with tools, resources and news about frontend development here if you're interested in that 🙂

Top comments (1)

Collapse
 
juniordevforlife profile image
Jason F

I saw a meme the other day that said something along the lines of, "if you want to generate a random string ask a windows user to exit vim."

I'm not a vim or vi expert. I've been wanting to learn, but it's been added to the queue of other things to learn. I'll give your video a go. Thanks!