October 2nd, 2009

Vim is a great text editor

Vim is a text editor (evolved from Vi) that originated on the Amiga. Starting out as a command line only tool, all text editing was carried out via key strokes rather than via mouse and GUI. I first came across Vim on Linux servers, it was confusing and I struggled with the simplest editing tasks.

Today Vim has become my primary text editor. I love it. I use it on Windows and Linux as a standalone app and embedded into the Eclipse IDE.

What makes it so good? In short, once you have mastered a few basic commands (similar to shortcuts) you find yourself working with text in a more efficient/involved way. Your hands rarely leave the keyboard, you can complete complicated tasks in fewer steps resulting in a greater feeling of involvement with the code. The physical task of writing code hasn’t changed a great deal over the years and Vim has been refined, over the last 18 years, to suit this task. Basically: “it doesn’t get in the way”.

If you want to get to know vim a little better here are a few links that I have found really helpful:

There may be a steep learning curve but the rewards are well worth it!

Edit: this Vim article sums it all up very nicely (and in greater depth).

  • Please also see my article series on must have vim plugins. It starts here:

    http://www.catonmat.net/blog/vim-plugins-surrou...

    See the Related Posts at the bottom of my article to find other parts!
  • Jon
    Others may want to check these resources I published, too:

    "Why, oh why, do those nutheads use vi?"
    http://www.viemu.com/a-why-vi-vim.html

    "Graphical vi/vim cheatsheet & tutorial"
    http://www.viemu.com/a_vi_vim_graphical_cheat_s...
  • John
    There are two awesome editors out there: Vim and that other one. Over a year ago, I decided to take the plunge and learn either one of them (I chose the other one for a couple of personal reasons).
    I've been learning to use the editor casually since then (over a year ago), and I feel I'm only now comfortable enough with my editor to let go of all the others (Notepad++, Kate...).
    My point is that Vim and that other editor have a tough learning curve because they're so far away from the HIG guidelines that have become ubiquitous in our GUI world. Once you've gone through the effort of learning them, however, you won't be looking back!
    I was astonished by the number of modern features that newer editors vaunt but which have been around for long in Vim and that other one, such as near-transparent network access to files.
  • jrmiii
    This mind map helped me when I was learning the basics.

    http://jrmiii.com/2009/03/06/learning-vim-the-p...
  • Yet another Vim fan :D
blog comments powered by Disqus
Powered by Wordpress using the theme aav1