[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] vi, emacs, sharp sticks
>
> That's exactly the reason I'm trying to figure out how to use vi.
good good :)
>
> My OpenBSD boxen only have vi (got emacs as a package to add to one
> machine - not the other to keep space free).
>
Fairy nuff ... only wish I had summat useful to do with OpenBSD as it seems a
very very solid UNIX. All BSD's do actually. Dunno why; there isn't a huge
difference between them and UNIX, but there's summat about the look and feel
that well, seems more solid :)
> All I need to do is edit /etc/whatever and that's the lot!
>
> If I ever code or do big edits, out with XEmacs, on with
> set-global-font-lock and off we go!
>
Most people have given the basics, I've not read them though :) If you
remmeber that there are two modes for vi; command mode and edit mode; you'll
be okay :) On some UNIX boxen (or iffy telnet clients, a la windows) you
can't move around the file you're editing with the cursor keys, having to use
h,j,k and l instead - which makes it a pain to some extent as you have to
flip between command and edit regularly...but its summat you get used to.
And in the end you can't beat just going <ESC>:%!!sort to filter the file
through sort ... (great when you're playing with temporary files when trying
to do summat complex).
Vi's great :)
Chris...
[*] though no doubt there is a way to filter a file through an external
command in emacs...
:w!reply.baz
:q
*grin*
--
Chris Johnson \ "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk \ for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/ ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \______
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.