Geronimo89.dk

A blog about me, my doings and everything I think deserves attention.

vi

tmp vim screen 300x202 viYes, finally during my time working on an article for a german webmaster community, I felt that I really had to go through the functions of vi. Vi is a legendary editor that is one of the standard editors in most Unix Systems. I actually understand the hate- and lovestories about this editor. People might say: “Come on, it’s just an editor!“, but if you ever had to configure a config file on a server, far far away and the only tool you have is vi, this can be a very disturbing situation. Vi works different from most text-editors existing I guess. The keys you press in vi have functions, they don’t make you write text, if you don’t put vi in the “insert mode” with the i key. And it handles a lot of additional commands and you actually work with vi through them a lot. Like saving a file is “:w” and exiting without saving “:q!”. So we see, it’s not very intuitive. On the other hand, vi can give you excellent workflows through the intelligent use and placement of hotkeys and if you remember all the commands right of course.

my favourite quote from wikipedia about vi: Sure vi is user-friendly; it’s just peculiar about who it makes friends with.

I don’t think I’ll use vi or vim (improved version) for productivity reasons, because I like the KISS principe (Keep It Simple, Stupid). I don’t want to get used to all the key bindings, at least not for now. Maybe vi will seem more attractive when I’m handling code daily or at my job. Currently I’m only using it on smaller scripts I’m working on right now, so, welcome my new friend vi icon smile vi

so long… keep typing

Give me the first comment

Leave a Reply