summaryrefslogtreecommitdiff
path: root/editors/nvi/patches/patch-am
blob: 0f2751cbb06eb1931c0d2572d957fab58c8bf09e (plain)
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
$NetBSD: patch-am,v 1.1 2009/08/07 16:39:21 lukem Exp $

--- ../docs/vi.man/vi.1.orig	2007-11-19 03:41:42.000000000 +1100
+++ ../docs/vi.man/vi.1
@@ -17,7 +17,7 @@ ex, vi, view \- text editors
 .SH SYNOPSIS
 .B ex
 [\c
-.B -eFRrSsv\c
+.B -eFGRrSsv\c
 ] [\c
 .BI -c " cmd"\c
 ] [\c
@@ -39,7 +39,7 @@ ex, vi, view \- text editors
 .br
 .B view
 [\c
-.B -eFRrSv\c
+.B -eFGRrSv\c
 ] [\c
 .BI -c " cmd"\c
 ] [\c
@@ -118,6 +118,9 @@ Don't copy the entire file when first st
 (The default is to make a copy in case someone else modifies
 the file during your edit session.)
 .TP
+.B \-G
+Start editing in gtags mode, as if the gtagsmode option was set.
+.TP
 .B \-l
 Start editing with the lisp and showmatch options set.
 .TP
@@ -429,6 +432,8 @@ commands or cancel partial commands.
 .TP
 .B "<control-]>"
 Push a tag reference onto the tag stack.
+In gtagsmode, if at the first column of line,
+locate function references otherwise function definitions.
 .TP
 .B "<control-^>"
 Switch to the most recently edited file.
@@ -774,6 +779,11 @@ and
 characters to move forward to the next
 .B shiftwidth
 column boundary.
+If
+.B expandtab
+is set, only insert
+.I <space>
+characters.
 .TP
 .B "<erase>
 .TP
@@ -940,6 +950,9 @@ Grow or shrink the current screen.
 .B "rew[ind][!]"
 Rewind the argument list.
 .TP
+.B "rta[g][!] tagstring"
+Edit the file refering the specified tag. (Only in gtagsmode)
+.TP
 .B "se[t] [option[=[value]] ...] [nooption ...] [option? ...] [all]"
 Display or set editor options.
 .TP
@@ -1095,6 +1108,15 @@ command.
 only.
 Announce error messages with a bell.
 .TP
+.B "expandtab, et [off]"
+Prevent the use of
+.I <tab>
+characters in leading whitespace when shifting text, autoindenting,
+indenting with
+.BR "<control-T>" ,
+or outdenting with
+.BR "<control-D>" .
+.TP
 .B "exrc, ex [off]"
 Read the startup files in the local directory.
 .TP
@@ -1110,6 +1132,9 @@ command line.
 .B "flash [on]"
 Flash the screen instead of beeping the keyboard on error.
 .TP
+.B "gtagsmode, gt [off]"
+Use GTAGS and GRTAGS instead of tags.
+.TP
 .B "hardtabs, ht [8]"
 Set the spacing between hardware tab settings.
 .TP
@@ -1151,6 +1176,9 @@ read or written.
 .B "magic [on]"
 Treat certain characters specially in regular expressions.
 .TP
+.B "matchchars [[]{}()<>]"
+Character pairs looked for by the % command.
+.TP
 .B "matchtime [7]"
 .I \&Vi
 only.