Learning Vim

Simple & Rapid Text Editing

Posted by Powers on December 7, 2014

Vim is an powerful text editor that's easy to learn and let's you write code with fewer keystrokes. It can be overwhelming to learn everthing Vim has to offer right off the bat so it's important to stick with the basics when you're starting out.

Vimtutor

The best tutorial for learning Vim is already on your computer - just type $ vimtutor in the terminal. The tutorial takes about 30 minutes and after finishing it, you'll understand the power of modal text editing. Repetition is the key to learn Vim, and a StackOverflow commentor suggests taking the tutorial every way for a week to learn the basics. Just remember to always exit insert mode immediately after editing text by pressing the escape key.

Just Do It

It amazes me how many programmers haven't even tried Vim. It's an amazing text editor that's already installed on your computer and might make you more productive for the rest of your career. Try it at least!

My Confession

Full disclosure: I've been meaning to try Emacs for about a year and haven't gotten around to it. Matz, the creator of Ruby, said Emacs "changed his life" and "made him a hacker" and it's obviously worthwhile to follow in the footsteps of a programmer I admire. I'm going to start learning Emacs after finishing this blog post, so I'm not a hypocrite.

Check back with me in a week to see if I look like Richard Stallman, a saint in the Church of Emacs.

Richard stallman Stallman in his Saint IGNUcius garb