Commit | Line | Data |
---|---|---|
d8649de5 C |
1 | .TH VI 1 "2 December 1979" |
2 | .UC | |
3 | .SH NAME | |
4 | vi \- screen oriented (visual) display editor based on ex | |
5 | .SH SYNOPSIS | |
6 | .B vi | |
7 | [ | |
8 | .B \-t | |
9 | tag | |
10 | ] [ | |
11 | .B \-r | |
12 | ] [ | |
13 | \fB+\fR\fIcommand\fR | |
14 | ] [ | |
15 | .B \-l | |
16 | ] [ | |
17 | \fB\-w\fIn\fR | |
18 | ] | |
19 | name ... | |
20 | .SH DESCRIPTION | |
21 | .I Vi | |
22 | (visual) is a display oriented text editor based on | |
23 | .IR ex (1). | |
24 | .I Ex | |
25 | and | |
26 | .I vi | |
27 | run the same code; it is possible to get to | |
28 | the command mode of | |
29 | .I ex | |
30 | from within | |
31 | .I vi | |
32 | and vice-versa. | |
33 | .PP | |
34 | The | |
35 | .I "Vi Quick Reference" | |
36 | card and the | |
37 | .I "Introduction to Display Editing with Vi" | |
38 | provide full details on using | |
39 | .I vi. | |
40 | .SH FILES | |
41 | See | |
42 | .IR ex (1). | |
43 | .SH SEE ALSO | |
44 | ex (1), edit (1), ``Vi Quick Reference'' card, | |
45 | ``An Introduction to Display Editing with Vi''. | |
46 | .SH AUTHOR | |
47 | William Joy | |
48 | .br | |
49 | Mark Horton added macros to \fIvisual\fR mode and is maintaining version 3 | |
50 | .SH BUGS | |
51 | Software tabs using \fB^T\fR work only immediately after the | |
52 | .I autoindent. | |
53 | .PP | |
54 | Left and right shifts on intelligent terminals don't make use of | |
55 | insert and delete character operations in the terminal. | |
56 | .PP | |
57 | The | |
58 | .I wrapmargin | |
59 | option can be fooled since it looks at output columns when blanks are typed. | |
60 | If a long word passes through the margin and onto the next line without a | |
61 | break, then the line won't be broken. | |
62 | .PP | |
63 | Insert/delete within a line can be slow if tabs are present on intelligent | |
64 | terminals, since the terminals need help in doing this correctly. | |
65 | .PP | |
66 | Saving text on deletes in the named buffers is somewhat inefficient. | |
67 | .PP | |
68 | The | |
69 | .I source | |
70 | command does not work when executed as \fB:source\fR; | |
71 | there is no way to use the \fB:append\fR, \fB:change\fR, | |
72 | and \fB:insert\fR commands, since it is not possible to give | |
73 | more than one line of input to a \fB:\fR escape. To use these | |
74 | on a \fB:global\fR you must \fBQ\fR to \fIex\fR command mode, | |
75 | execute them, and then reenter the screen editor with | |
76 | .I vi | |
77 | or | |
78 | .I open. |