summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/docs
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-18 23:36:52 +0000
committerjkh <jkh@FreeBSD.org>1997-04-18 23:36:52 +0000
commitc87043915bcfdce2b8ed90750a5f5ed2ee987535 (patch)
tree39809647dfb0188b77313938742b106bf2b0d919 /contrib/nvi/docs
parent385cd60e059598672473eaed82f6c2bc41774df1 (diff)
downloadFreeBSD-src-c87043915bcfdce2b8ed90750a5f5ed2ee987535.zip
FreeBSD-src-c87043915bcfdce2b8ed90750a5f5ed2ee987535.tar.gz
Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
Diffstat (limited to 'contrib/nvi/docs')
-rw-r--r--contrib/nvi/docs/USD.doc/vi.man/vi.117
1 files changed, 14 insertions, 3 deletions
diff --git a/contrib/nvi/docs/USD.doc/vi.man/vi.1 b/contrib/nvi/docs/USD.doc/vi.man/vi.1
index 22aee3e..2275b94 100644
--- a/contrib/nvi/docs/USD.doc/vi.man/vi.1
+++ b/contrib/nvi/docs/USD.doc/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
@@ -28,7 +28,7 @@ ex, vi, view \- text editors
.br
.B vi
[\c
-.B -eFlRrSv\c
+.B -eFGlRrSv\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
@@ -121,6 +121,9 @@ the file during your edit session.)
.B \-l
Start editing with the lisp and showmatch options set.
.TP
+.B \-G
+Start editing in gtags mode, as if the gtagsmode option was set.
+.TP
.B \-R
Start editing in read-only mode, as if the command name was
.IR view ,
@@ -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.
@@ -940,6 +945,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
@@ -1110,6 +1118,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
OpenPOWER on IntegriCloud