Vim and Everything Else

Using Vim is one of the most amazingly frustrating, confusing, rewarding, and geeking out feeling ever. If you asked me how to copy something in Vim you were out of luck, because I couldn’t even navigate folders and files in vim.

This journey of teaching myself Vim with the help of Eric from LA has been a very rewarding. I still have to use Sublime rarely when I want to copy big chunkcs of code on a chat or my gist page, but give me another week and I am confident I’ll figure it out.

Having used Sublime for quite some time now, here are some a list of things that each editor does better.

Vim

  1. Move around super fast. I installed relative numbers so that I can go to the exact line I want to change.
  2. No mouse. It’s self explainatory.
  3. You feel awesome slowly mastering and the in’s and out’s of the editor.
  4. I don’t know when the learning curve ceiling ends. I learn something new to improve my day to day coding every days.

Sublime

  1. Super easy to use. Basically no learning curve.
  2. Command-p is a little bit better than Vim’s. E.G. Searching for file apple_to_go.rb. In sublime you can type apple to go and it will search for you. In vim you have to pretty much type it exactly how it is. If you put a space between words it won’t suggest any results.
  3. Copy and paste is terribly easy.

Quick tips to learning Vim

  1. Read vimtutor in your terminal
  2. Watch how people move around files. Through videos, mentor, or friend.
  3. Learn how to move around. I find this the most important part in Vim. You want to jump lines, words, paragraphs, and screens comfortably and efficiently, less key strokes the better.
  4. Keep going at it. It gets easier and becomes fun getting things right!

Overall I think it is important to improve and increase the tools in your development toolbox and Vim is definitely a big improvement for me. I see myself working towards understand vim in a deeper level in the upcoming weeks. I am excited to see what more I can do with this new found tool.