[SlugLUG] running vi

Peter Belew abcruzww at gmail.com
Sat Sep 30 08:59:05 PDT 2006


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.
>
> 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).
>
> (I wonder if I just started an entirely different interesting debate.)
>
> EC
>
> On 9/29/06, Sean Kellogg <skellogg at gmail.com> wrote:
> >
> > On Friday 29 September 2006 15:52, Ignacio Solis wrote:
> > > Choose the "Edit sources manually".  You'll be given an editor (nano?)
> > with
> > > the sources file open.  Just type in the sluglug address.
> >
> > That sounds familiar.  But I seem to remember the reason I never used this
> > route is that the default editor is vi, which I find about as
> > incomprehensible as emacs.  If they are using nano now as a default than
> > thank goodness.
> >
> > -Sean
> >
> > --
> > Sean Kellogg
> > c: 831.818.6940 e: skellogg at gmail.com
> > w: http://blog.probonogeek.org/
> >
> > So, let go
> > ...Jump in
> > ...Oh well, what you waiting for?
> > ...it's all right
> >   ...'Cause there's beauty in the breakdown
> > _______________________________________________
> > Sluglug mailing list
> > Sluglug at sluglug.ucsc.edu
> > http://sluglug.ucsc.edu/cgi-bin/mailman/listinfo/sluglug
> >
>
>
> _______________________________________________
> Sluglug mailing list
> Sluglug at sluglug.ucsc.edu
> http://sluglug.ucsc.edu/cgi-bin/mailman/listinfo/sluglug
>
>
>


More information about the Sluglug mailing list