Article View: comp.editors
Article #105Re: HELP with Vi, PLEASE!!!
From: Charles Scripter
Date: Tue, 04 Aug 1992 00:50
Date: Tue, 04 Aug 1992 00:50
42 lines
2252 bytes
2252 bytes
In article <pyqmhdh.lindae@netcom.com>, lindae@netcom.com () writes:
> As a new user to Unix and to Vi, I must say that the online manual for
> vi is absolutely no help at all!! Can't someone come up with a simple
> manual or easy-to-use tutorial for new users? Why must it be so
> complicated?
>
> So far, by hit and miss, I've figured out how to type a letter, post
> news, etc. with vi and how to get out of it when I am done (:wq) I've
> also figured out how to delete a whole line (esc dd)
>
> What I absolutely can not figure out is, how do I make corrections?
> For example, in this posting, suppose I wanted to go back up to
> line number 2 and change the word "can't" to "can not" ? How would I
> do that?
My solution, after fighting with VI for a while, was to use emacs. I'm
now using MicroGnuEmacs, since sun3's are slow enough GnuEmacs almost
shuts it down... You can get it at wuarchive.wustl.edu in
/mirrors/unix-c/editor(s) (not sure if there's an "s"). Get the file mg2a
To compile, follow the instructions.
p.s. Make the following change in main.c
diff main.c main.c.old shows:
52,53d51
< if (cp = startupfile(getenv("TERM")))
< load(cp);
The advantage of emacs, over vi, is it's always in insert mode. You
drive around with the arrow keys, and type, delete, etc. All functions
are bound to control sequences (and are customizable). MG2A comes
wit a manual (in LaTeX).
-------------------------------------------------------------------
Charles Scripter * cescript@phy.mtu.edu
Dept of Physics *
Michigan Technological University *
Houghton, MI 49931 *
-------------------------------------------------------------------
With your one remaining eye, please do NOT look back into the laser
Technical Details
Message-ID:
<1992Aug4.005058.9974@mtu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!mtu.edu!mtu.edu!cescriptReferences:
<pyqmhdh.lindae@netcom.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!sparky!uunet!caen!mtu.edu!mtu.edu!cescript From: cescript@mtu.edu (Charles Scripter) Subject: Re: HELP with Vi, PLEASE!!! Message-ID: <1992Aug4.005058.9974@mtu.edu> Sender: news@mtu.edu Nntp-Posting-Host: phyfac7.phy.mtu.edu Organization: Michigan Technological University References: <pyqmhdh.lindae@netcom.com> Date: Tue, 4 Aug 1992 00:50:58 GMT Lines: 42