On Thursday 05 February 2004 14:13, Alvaro Zuniga spake:
> Hi Everyone:
> Last wee someone was asking about help pages for new users, here is a good
> one. I needed to refresh my memory about some VIM commands and I though the
> page for that was good. I hate VIM, particularly the jumping around between
> command and editing mode. Do you ever get used to this?

Da. Vim is the best. For instance, once you learn how to navigate (dd deletes 
a line, $ jumps to the end of the line... put them together like so: d$ 
deletes to the end of the line), you'll never go back to a notepad-like 
editor again. Oh yeah, don't forget color-coding, which recognizes tags and 
syntax for most of the languages you'll encounter. HTML files have the tags 
highlighted for you, as does php, perl, bash... you name it. Tres cool. If 
you need a .vimrc file for color-coding, there's one in my /hacks/linux 
directory. Check to see if you have one first. You might be able to just turn 
it on in yours.

I got a cheat-sheet I found somewhere that I've tacked to my wall next to my 
box that I used to refer to all the time. Little by little I learned, but now 
it's second nature to me. I used pico for years, but 1.5 years ago I decided 
to learn vi, so I quit pico cold turkey and forced myself to learn. Quite 
honestly, there are very few vi commands you need to know in order to 
duplicate pico's functionality.

The only downside is when I'm using some other sort of editor (like the one 
that kmail defaults to, which I'm using now), I sometimes forget I'm not in 
vim and things get a little weird. I guess it's like using an old HP RPN 
caculator... it's a major struggle to use an arithmetic calculator, because 
I'm so used to RPN entry.

-- 


Joey Kelly
< Minister of the Gospel | Linux Consultant >
http://joeykelly.net


"I may have invented it, but Bill made it famous."
 --- David Bradley, the IBM employee that invented CTRL-ALT-DEL

Reply via email to