[SlugLUG] running vi
karly at kipshouse.org
karly at kipshouse.org
Sat Sep 30 12:03:53 PDT 2006
On Sat, Sep 30, 2006 at 08:59:05AM -0700, Peter Belew wrote:
> Hehe -
>
> Discussing editors, as you know, is like discussing religion or politics
> in the 'wrong' place!
>
>
> (I made this the start of a new thread).
>
> :)
>
> Peter
>
> On 9/30/06, Eric Carter <Ecnassianer at greenstorm.net> wrote:
> > Incase you run into vi again:
> >
> > $vim /etc/apt/sources.list
> > 1) Use the up and down arrows (or j and k) to scroll to the line you want to
> > edit
> > 2) Press i to <i>nsert text (or your choice of a, A, I, o, O,and perhaps
> > others)
> > 3) Type what you want as you would anywhere else
> > 4) Esc to stop editing text
> > 5) :wq <enter> to save and quit.
> >
I learned vi in 1995, and I've been trying to learn emacs since
1996, but my fingers won't let me.
> > vi gets a lot clearer once you realize it has 3 modes. ( Hotkey mode (which
> > you start in), editing mode (you get in with i out with ESC) and command
> > mode (open that with : from hotkey mode).
My emacs zealot friend says vi has two modes. Beeping mode and
mangling text mode.
> >
> > (I wonder if I just started an entirely different interesting debate.)
Oh yeah you did.
-karl
More information about the Sluglug
mailing list