[SlugLUG] running vi
Thomas Leavitt
thomas at thomasleavitt.org
Sat Sep 30 20:21:19 PDT 2006
pico vs. nano wars, anyone? :)
thomas
Eric Carter wrote:
> So far this thread is shockingly short on emacs users. Although that's a
> great story Thomas. :)
>
> EC
>
> P.S. The true target of editor wars is those poor saps who still use
> pico.
>
> On 9/30/06, Thomas Leavitt <thomas at thomasleavitt.org> wrote:
>>
>> vi made me a million dollars (although it didn't help me keep it)
>>
>> i took a unix class at Cabrillo in the early 90s - the prof gave me a
>> free pass after a few weeks, because I soaked it all up like a sponge
>> (already having been exposed to a unix-like command line via the Amiga
>> and a PrimeOS miniframe at a prior school helped)... so I spent the rest
>> of the semester hanging out in the psych lab with a buddy, working
>> through the vilearn tutorial (all the way through cutting and pasting
>> with multiple buffers) on this gigantic creaky VAX running BSD... the
>> tutorial's extensive training in how to use regular expressions via use
>> of "ex", etc., put me in good stead when I started my web hosting
>> service and found out about this new programming language called
>> Perl. :)
>>
>> thomas
>>
>> Eric Carter wrote:
>> > lol. Thanks Peter. I probably should have done that myself. ;)
>> >
>> > *equips his +5 Ruby Armor of Flame Resistance*
>> >
>> > Ok, I'm ready now. :)
>> >
>> > EC
>> >
>> > On 9/30/06, Peter Belew <abcruzww at gmail.com> 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.
>> >> >
>> >> > 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
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > 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
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sluglug mailing list
> Sluglug at sluglug.ucsc.edu
> http://sluglug.ucsc.edu/cgi-bin/mailman/listinfo/sluglug
>
More information about the Sluglug
mailing list