version 1.5, 2000/02/29 20:35:19 |
version 1.6, 2000/03/10 19:07:21 |
|
|
people who can't (or don't want to) run the real emacs for one |
people who can't (or don't want to) run the real emacs for one |
reason or another, or are not familiar with the |
reason or another, or are not familiar with the |
.Xr vi 1 |
.Xr vi 1 |
editor. It is compatible with emacs because there shouldn't |
editor. |
|
It is compatible with emacs because there shouldn't |
be any reason to learn more editor types than emacs or |
be any reason to learn more editor types than emacs or |
.Xr vi 1 . |
.Xr vi 1 . |
.Pp |
.Pp |
Normal editing commands are very similar to Gnu Emacs. In the |
Normal editing commands are very similar to Gnu Emacs. |
following examples, ^X means control-X, and M-X means Meta-X, |
In the following examples, ^X means control-X, and M-X means Meta-X, |
where the Meta key may be either a special key on your keyboard |
where the Meta key may be either a special key on your keyboard |
or the ALT key; otherwise ESC followed by the key X works as well. |
or the ALT key; otherwise ESC followed by the key X works as well. |
.Pp |
.Pp |
|
|
.Nm |
.Nm |
differs primarily in not having special modes for tasks other than |
differs primarily in not having special modes for tasks other than |
straight editing, e.g., mail and news, and in not having special modes that |
straight editing, e.g., mail and news, and in not having special modes that |
support various programming languages. It does have text justification |
support various programming languages. |
and auto-fill mode. Since it is written completely in C, there is no |
It does have text justification |
language in which you can write extensions. However, you can rebind |
and auto-fill mode. |
keys and change some parameters. There are no limits to line length |
Since it is written completely in C, there is no |
or format. Command, buffer, and file name completion and listing can |
language in which you can write extensions. |
|
However, you can rebind keys and change some parameters. |
|
There are no limits to line length or format. |
|
Command, buffer, and file name completion and listing can |
be done using the spacebar and |
be done using the spacebar and |
.Ql ? , |
.Ql ? , |
respectively. |
respectively. |
|
|
.Nm |
.Nm |
will use |
will use |
.Pa .mg-vt100 |
.Pa .mg-vt100 |
as a startup file. The terminal type startup file is used |
as a startup file. |
first. |
The terminal type startup file is used first. |
See the manual for a full list of the commands that can |
See the manual for a full list of the commands that can |
go in the files. |
go in the files. |
.Pp |
.Pp |
Here's another example sequence that you may find useful. By default, |
Here's another example sequence that you may find useful. |
|
By default, |
.Dq () |
.Dq () |
and |
and |
.Dq [] |
.Dq [] |
|
|
When you type |
When you type |
.Ql ? |
.Ql ? |
to list possible file names, buffer names, etc., |
to list possible file names, buffer names, etc., |
a help buffer is created for the possibilities. In Gnu Emacs, |
a help buffer is created for the possibilities. |
|
In Gnu Emacs, |
this buffer goes away the next time you type a real command. |
this buffer goes away the next time you type a real command. |
In |
In |
.Nm mg , |
.Nm mg , |