mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
runtime(doc): simplify vimtutor manpage a bit more
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
59834ba6df
commit
5ccac75d96
@ -1,4 +1,4 @@
|
|||||||
.TH VIMTUTOR 1 "2024 November 03"
|
.TH VIMTUTOR 1 "2024 November 04"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
vimtutor \- the Vim tutor
|
vimtutor \- the Vim tutor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -19,16 +19,8 @@ The
|
|||||||
is useful for people that want to learn their first
|
is useful for people that want to learn their first
|
||||||
.B Vim
|
.B Vim
|
||||||
commands.
|
commands.
|
||||||
.PP
|
|
||||||
The optional argument \-g starts vimtutor with gvim rather than vim, if the
|
|
||||||
GUI version of Vim is available, or falls back to vim if gvim is not found.
|
|
||||||
.PP
|
|
||||||
The optional [language] argument is the two-letter name of a language, like
|
The optional [language] argument is the two-letter name of a language, like
|
||||||
"it" or "es".
|
"it" or "es".
|
||||||
If the [language] argument is missing, the language of the current locale will
|
|
||||||
be used.
|
|
||||||
If a tutor in this language is available, it will be used.
|
|
||||||
Otherwise the English version will be used.
|
|
||||||
.PP
|
.PP
|
||||||
.B Vimtutor
|
.B Vimtutor
|
||||||
only opens temporary copies of the original tutor files, there is no danger of overwriting the lessons.
|
only opens temporary copies of the original tutor files, there is no danger of overwriting the lessons.
|
||||||
@ -43,7 +35,7 @@ compatible mode.
|
|||||||
Set the two or three letter language code. E.g. 'it', 'es', 'bar'. Defaults to language of locale if available, else to English.
|
Set the two or three letter language code. E.g. 'it', 'es', 'bar'. Defaults to language of locale if available, else to English.
|
||||||
.TP
|
.TP
|
||||||
.BR \-c ", " \-\-chapter =\fINUMBER\fR
|
.BR \-c ", " \-\-chapter =\fINUMBER\fR
|
||||||
Set the one or two digit chapter number. Defaults to chapter one.
|
Set the chapter number. Defaults to chapter one.
|
||||||
.TP
|
.TP
|
||||||
.BR \-g ", " \-\-gui
|
.BR \-g ", " \-\-gui
|
||||||
Start
|
Start
|
||||||
@ -88,7 +80,7 @@ The
|
|||||||
.B Vimtutor
|
.B Vimtutor
|
||||||
chapter one text file(s).
|
chapter one text file(s).
|
||||||
.TP 15
|
.TP 15
|
||||||
/usr/local/share/vim/vim??/tutor/tutor02[.language]
|
/usr/local/share/vim/vim??/tutor/tutor2[.language]
|
||||||
The
|
The
|
||||||
.B Vimtutor
|
.B Vimtutor
|
||||||
chapter two text file(s).
|
chapter two text file(s).
|
||||||
@ -98,18 +90,11 @@ The
|
|||||||
.B Vim
|
.B Vim
|
||||||
script used to copy the
|
script used to copy the
|
||||||
.B Vimtutor
|
.B Vimtutor
|
||||||
chapter one text file.
|
text file.
|
||||||
.TP 15
|
|
||||||
/usr/local/share/vim/vim??/tutor/tutor02.vim
|
|
||||||
The
|
|
||||||
.B Vim
|
|
||||||
script used to copy the
|
|
||||||
.B Vimtutor
|
|
||||||
chapter two text file.
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
.B The Vi Tutorial
|
.B The Vi Tutorial
|
||||||
was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University.
|
was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University.
|
||||||
.B E-mail: bware@mines.colorado.edu.
|
.B E-mail: bware@mines.colorado.edu (now invalid).
|
||||||
.PP
|
.PP
|
||||||
Modified for
|
Modified for
|
||||||
.B Vim
|
.B Vim
|
||||||
|
@ -13,17 +13,8 @@ DESCRIPTION
|
|||||||
Vimtutor starts the Vim tutor.
|
Vimtutor starts the Vim tutor.
|
||||||
|
|
||||||
The Vimtutor is useful for people that want to learn their first Vim
|
The Vimtutor is useful for people that want to learn their first Vim
|
||||||
commands.
|
commands. The optional [language] argument is the two-letter name of a
|
||||||
|
language, like "it" or "es".
|
||||||
The optional argument -g starts vimtutor with gvim rather than vim, if
|
|
||||||
the GUI version of Vim is available, or falls back to vim if gvim is
|
|
||||||
not found.
|
|
||||||
|
|
||||||
The optional [language] argument is the two-letter name of a language,
|
|
||||||
like "it" or "es". If the [language] argument is missing, the language
|
|
||||||
of the current locale will be used. If a tutor in this language is
|
|
||||||
available, it will be used. Otherwise the English version will be
|
|
||||||
used.
|
|
||||||
|
|
||||||
Vimtutor only opens temporary copies of the original tutor files, there
|
Vimtutor only opens temporary copies of the original tutor files, there
|
||||||
is no danger of overwriting the lessons.
|
is no danger of overwriting the lessons.
|
||||||
@ -37,8 +28,7 @@ OPTIONS
|
|||||||
lish.
|
lish.
|
||||||
|
|
||||||
-c, --chapter=NUMBER
|
-c, --chapter=NUMBER
|
||||||
Set the one or two digit chapter number. Defaults to chapter
|
Set the chapter number. Defaults to chapter one.
|
||||||
one.
|
|
||||||
|
|
||||||
-g, --gui
|
-g, --gui
|
||||||
Start vimtutor in the GUI version of vim if available, otherwise
|
Start vimtutor in the GUI version of vim if available, otherwise
|
||||||
@ -66,22 +56,17 @@ FILES
|
|||||||
/usr/local/share/vim/vim??/tutor/tutor[.language]
|
/usr/local/share/vim/vim??/tutor/tutor[.language]
|
||||||
The Vimtutor chapter one text file(s).
|
The Vimtutor chapter one text file(s).
|
||||||
|
|
||||||
/usr/local/share/vim/vim??/tutor/tutor02[.language]
|
/usr/local/share/vim/vim??/tutor/tutor2[.language]
|
||||||
The Vimtutor chapter two text file(s).
|
The Vimtutor chapter two text file(s).
|
||||||
|
|
||||||
/usr/local/share/vim/vim??/tutor/tutor.vim
|
/usr/local/share/vim/vim??/tutor/tutor.vim
|
||||||
The Vim script used to copy the Vimtutor chapter one
|
The Vim script used to copy the Vimtutor text file.
|
||||||
text file.
|
|
||||||
|
|
||||||
/usr/local/share/vim/vim??/tutor/tutor02.vim
|
|
||||||
The Vim script used to copy the Vimtutor chapter two
|
|
||||||
text file.
|
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
The Vi Tutorial was originally written for Vi by Michael C. Pierce and
|
The Vi Tutorial was originally written for Vi by Michael C. Pierce and
|
||||||
Robert K. Ware, Colorado School of Mines using ideas supplied by
|
Robert K. Ware, Colorado School of Mines using ideas supplied by
|
||||||
Charles Smith, Colorado State University. E-mail: bware@mines.col‐
|
Charles Smith, Colorado State University. E-mail: bware@mines.col‐
|
||||||
orado.edu.
|
orado.edu (now invalid).
|
||||||
|
|
||||||
Modified for Vim by Bram Moolenaar.
|
Modified for Vim by Bram Moolenaar.
|
||||||
|
|
||||||
@ -90,4 +75,4 @@ AUTHOR
|
|||||||
SEE ALSO
|
SEE ALSO
|
||||||
vim(1)
|
vim(1)
|
||||||
|
|
||||||
2024 November 03 VIMTUTOR(1)
|
2024 November 04 VIMTUTOR(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user