-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathuvi.1
99 lines (99 loc) · 2.39 KB
/
uvi.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.IX Title UVI
.TH UVI 0.9
.nh
.SH "uvi"
.IX Header "uvi"
uvi \- vi like text editor
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
uvi [\-R] FILEs...
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
.SS "Normal Modes Keys"
.IX Subsection "Normal Modes Keys"
ZZ - :wq
.PP
ZQ - :q!
.PP
ZW - :w
.PP
For the rest, see vi(1)
.SS "Insert Mode Keys"
.IX Subsection "Insert Mode Keys"
^v: literal character
.SS "Command Mode Keys"
.IX Subsection "Command Mode Keys"
^r: insert contents of register r
.PP
^v: literal character
.SS "Command Mode Commands"
.IX Subsection "Command Mode Commands"
\fB:!\fR Run an external command
.PP
\fB:[range]!\fR Filter range lines through an external command
.PP
\fB:?\fR Show cursor position and character
.PP
\fB:[range]w [arg]\fR Write (a range) to the file
.PP
\fB:we[!] arg\fR Write buffer, and edit arg
.PP
\fB:wq[!]\fR Write buffer and quit
.PP
\fB:x\fR Write buffer if changed, and quit
.PP
\fB:new\fR New, empty buffer
.PP
\fB:r[!]\fR Read (from command) into buffer
.PP
\fB:q[!]\fR Quit (unconditionally)
.PP
\fB:e[!] [arg]\fR Edit (unconditionally) a file if given, else the current file
.PP
\fB:qa\fR Quit, ignoring unread buffers
.PP
\fB:xa\fR Write current if changed, and quite, ignoring unread buffers
.PP
\fB:A\fR Switch from *.c[pp] to *.h and vice versa
.PP
\fB:set [x[!?]]\fR Show/set/query variable[s]
.PP
\fB:yanks\fR Show yanks (yanked using y<motion>)
.PP
\fB:maps\fR Show maps (created using map, in .uvirc)
.PP
\fB:marks\fR Show marks (m[c])
.PP
\fB:ls\fR Show buffers (simply a list of filenames)
.PP
\fB:n[!]\fR Next buffer (ignoring current buffer write state)
.PP
\fB:N[!]\fR Previous buffer (ignoring current buffer write state)
.PP
\fB:b #\fR Go to buffer
.PP
\fB:bd [#]\fR Delete buffer (current if unspecified)
.PP
\fB:cd\fR \fIchdir()\fR
.PP
\fB:pwd\fR Show $PWD
.PP
\fB:so file\fR Source uvirc file
.PP
\fB:help\fR duh
.SH "OPTIONS"
.IX Header "OPTIONS"
\fB\-R\fR
Make all opened buffers readonly
.PP
\fB+cmd\fR
Execute cmd (place characters in read buffer) at startup
.SH "NOTES"
.IX Header "NOTES"
Still buggy, see \s-1TODO\s0
.SH "SEE ALSO"
.IX Header "SEE ALSO"
vi (1)
.SH "BUGS"
.IX Header "BUGS"
Yes. See \s-1TODO\s0