Commit | Line | Data |
---|---|---|
700bb841 BJ |
1 | "EDIT" TEXT EDITOR |
2 | ||
3 | Edit is the name of a version of the editor ex which is designed for | |
4 | beginning or casual users. When the editor is invoked as "edit" rather | |
5 | than as "ex" the default setting of certain options is changed, making | |
6 | the editing environment less complicated and more informative. Edit is | |
7 | the recommended editor for people who are learning text editing. | |
8 | ||
9 | Users who have experience with an editor such as ed or nex may also | |
10 | prefer to use edit, but they should be aware that the option settings | |
11 | of edit introduce some differences in the way the editor behaves. The | |
12 | option settings which differ in edit are: | |
13 | ||
14 | nomagic: When the "magic" option is set (as in ex), several characters | |
15 | have special meanings in regular expressions (the character | |
16 | strings specified when searching the buffer or indicating the | |
17 | characters to be changed by a substitute command). However, in | |
18 | edit the "nomagic" option in effect, and only the characters | |
19 | ||
20 | $ ^ \ | |
21 | ||
22 | have special meanings. In this respect, edit is different from | |
23 | the editor ed as well as from ex. | |
24 | ||
25 | noopen: This option prevents the user from accidently entering open and | |
26 | visual modes, in which the editor behaves quite differently than | |
27 | in normal command mode. | |
28 | ||
29 | notify=1: The editor gives feedback whenever a command modifies more | |
30 | than a specified number of lines, set to 1 line in edit. With ex, | |
31 | the user is not notified unless the number of lines modified is | |
32 | greater than 5. | |
33 | ||
34 | Type "help ex" for more information about ex. |