they always say: it's good to know some basic vi. In fact, some of my
best friends use vi, so there must be somerthing good about it.

vi isn't as programmable, if you don't mind lips, as emacs, otherwise
the only big difference between is:
in vi everything is a command, unless you do something special.
in emacs, it's the other way around, everyting you type goes in the file,
commands are special things.

from there on everything almost becomes a religious argument :-)

- peter

PS: I use a command called 'ec', printed below. You can figure what it
does. It as nice and short as vi, but just better :-)




set date=`date +%Y-%m-%d_%H:%M:%S`

set dir=$HOME/.ec

if (! -d $dir) then
  mkdir $dir
  chmod 700 $dir
endif

set log=$dir/emacsclient.log

emacsclient --no-wait $*

if ($status == 0) then
 if ($#argv > 0) then
  echo $date `pwd` $* >> $log
  chmod 600 $log
 endif
endif



On [Mon Dec 18 09:01], Russ wrote:
> Hello,
> 
> Could anyone please suggest a good resource for learning how to use vi.
> Maybe I just need to dive in and teach myself vi.  I'm planning on taking
> a week long Linux sys admin class, and I'd like to be well prepared.  I've
> spent quite a few hours as a student using DOS EDIT, but I dont know if
> that appropriate or similar to pico, vi or any other editor used on Linux.
> 
> Sincerely,
> 
> Russ Main

Reply via email to