Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 00:49:56 -0400 (EDT)
From:      James <dominus@lies.dyn.ml.org>
To:        Tim Gerchmez <fewtch@serv.net>
Cc:        newbies@FreeBSD.ORG
Subject:   Re: A first encounter with 'vi'
Message-ID:  <Pine.BSF.3.96.980615004226.1058A-100000@minos.dyn.ml.org>
In-Reply-To: <3.0.5.32.19980614203302.007d0800@mx.serv.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 14 Jun 1998, Tim Gerchmez wrote:

> At 11:21 PM 6/14/98 -0400, you wrote:
> 
> >In fact, I tryed today chsh and it was vi who was the editor.
> 
> Hmm, strange, when I switched from csh to sh it was ee that was the editor,
> but vi was the editor when switching back.  I think it has something to do
> with the default editor set in your home directory.  You must have already
> been set to vi as the default when you switched.

Try looking at the EDITOR environment variable. Some things look at that
when choosing what to work with.

> I did finally get the thing about command mode and edit mode.  The thing
> that bugged me was there was no easy way to escape it, even ctrl-alt-del
> was trapped and I think I had to shut off my computer to get out of it at
> first.  Then I read the man pages enough to change the one character I
> needed (added "C" before "SH" to change it back to "CSH" and got into
> command mode, saved and exited.  That did the trick.  What kind of an
> editor is it when you have to shut down your computer, reboot several
> times, read man pages three times to alter one character?  Like I said, I
> think it would be a fit punishment for someone who committed a serious
> crime to have to write a 40 page essay using vi.  Do that instead of
> sending to jail, and he won't ever commit a crime again :-)
> 

Have done several  web sites and lots of C/C++ with it.  Trust me it is
not *THAT* bad. : )  It is all I use and work and I do web development.
vi is one of the first things I look for when I have to work on a new
platform. I even have it for windows (vim at least). (Along with the rest
of the Cygnus tools for Windows NT : )

It just takes some learning.  I feel like I am most productive in vi, may
hands never leave the keys for anything and I can write like a fiend.
Also, I have a long list of abbreviations and keybinds in my .exrc which
comes in very handy.

James


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980615004226.1058A-100000>