Pages

Monday, September 27, 2010

Using Vi or Vim



     The title is perhaps alittle ambiguous. As far as I know(or am concerned really), Vim and Vi are the same thing: Extremely efficient keyboard input. They both have virtually the same interface, accept the same commands etc.. 99% percent of users probably don't care, but Vim is a tool that takes standard keyboard input and develops it into a science. This is similar to the more efficient, yet much less used Dvorák keyboard. But Vim does not demand that you change your entire keyboard layout(even I am using the standard QWERTY as I type this).

Vim: So whats the point?
     As mentioned earlier Vim is a way for extremely efficient keyboard input, so that means that should you use this, you can navigate faster, edit/create text documents much faster than the more widely accepted standard. It's a whole new interface on typing, and although it can be a daunting challenge to learn, most people will say that it definitely helps. You have way more advanced features in your arsenal. Totally unnecessary in daily life, but users of Vim will see these obvious benefits. And you will be hailed as the leader by all of your nerdy friends.
This post is not meant to spark up the holy war between Vim and Emacs. However, I recently saw a neat trick that would help you learn Vim. In a linux environment you, might already have it. Just run the command: 

vimtutor

It seems to be just a text file that gets loaded with the Vim editor. However that's would place the tutorial in the command line. There are graphical interfaces for both linux(search for vim-gui in your package manager) and Windows


You can also use cream. Seems to be yet another interesting variant.

No comments:

Post a Comment