runtime(tutor): update the tutor files and re-number the chapters

closes: #16110

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
RestorerZ
2024-12-02 20:19:52 +01:00
committed by Christian Brabandt
parent 12e1729e89
commit 6fa304f27d
83 changed files with 5629 additions and 5555 deletions

View File

@ -145,13 +145,13 @@ On other systems, you have to do a little work:
1. Copy the tutor file. You can do this with Vim (it knows where to find it):
>
vim --clean -c 'e $VIMRUNTIME/tutor/tutor' -c 'w! TUTORCOPY' -c 'q'
vim --clean -c 'e $VIMRUNTIME/tutor/tutor1' -c 'w! TUTORCOPY' -c 'q'
<
This will write the file "TUTORCOPY" in the current directory. To use a
translated version of the tutor, append the two-letter language code to the
filename. For French:
>
vim --clean -c 'e $VIMRUNTIME/tutor/tutor.fr' -c 'w! TUTORCOPY' -c 'q'
vim --clean -c 'e $VIMRUNTIME/tutor/tutor1.fr' -c 'w! TUTORCOPY' -c 'q'
<
2. Edit the copied file with Vim:
>

View File

@ -76,7 +76,7 @@ vimtutor --language bar --chapter 1 --gui
.fi
.SH FILE
.TP 15
/usr/local/lib/vim/vim??/tutor/tutor[.lingua]
/usr/local/lib/vim/vim??/tutor/tutor1[.lingua]
I file di testo per il capitolo uno di
.B Vimtutor
.

View File

@ -76,7 +76,7 @@ vimtutor --language bar --chapter 1 --gui
.fi
.SH FILE
.TP 15
/usr/local/lib/vim/vim??/tutor/tutor[.lingua]
/usr/local/lib/vim/vim??/tutor/tutor1[.lingua]
I file di testo per il capitolo uno di
.B Vimtutor
.

View File

@ -19,11 +19,12 @@ The
is useful for people that want to learn their first
.B Vim
commands.
The optional [language] argument is the two-letter name of a language, like
"it" or "es".
The optional [ISO639] argument is the two or three letter name of a language,
like "it" or "es".
.PP
.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.
.PP
.B Vim
is always started in
@ -32,7 +33,8 @@ compatible mode.
.SH OPTIONS
.TP
.BR \-l ", " \-\-language =\fIISO639\fR
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
.BR \-c ", " \-\-chapter =\fINUMBER\fR
Set the chapter number. Defaults to chapter one.
@ -75,7 +77,7 @@ vimtutor --language bar --chapter 1 --gui
.fi
.SH FILES
.TP 15
/usr/local/share/vim/vim??/tutor/tutor[.language]
/usr/local/share/vim/vim??/tutor/tutor1[.language]
The
.B Vimtutor
chapter one text file(s).
@ -93,7 +95,8 @@ script used to copy the
text file.
.SH AUTHOR
.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 (now invalid).
.PP
Modified for

View File

@ -1,5 +1,7 @@
VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
NAME
vimtutor - the Vim tutor
@ -13,8 +15,8 @@ DESCRIPTION
Vimtutor starts the Vim tutor.
The Vimtutor is useful for people that want to learn their first Vim
commands. The optional [language] argument is the two-letter name of a
language, like "it" or "es".
commands. The optional [ISO639] argument is the two or three letter
name of a language, like "it" or "es".
Vimtutor only opens temporary copies of the original tutor files, there
is no danger of overwriting the lessons.
@ -24,8 +26,8 @@ DESCRIPTION
OPTIONS
-l, --language=ISO639
Set the two or three letter language code. E.g. 'it', 'es',
'bar'. Defaults to language of locale if available, else to Eng
lish.
'bar'. Defaults to language of locale if available, else to
English.
-c, --chapter=NUMBER
Set the chapter number. Defaults to chapter one.
@ -53,7 +55,7 @@ EXAMPLES
vimtutor --language bar --chapter 1 --gui
FILES
/usr/local/share/vim/vim??/tutor/tutor[.language]
/usr/local/share/vim/vim??/tutor/tutor1[.language]
The Vimtutor chapter one text file(s).
/usr/local/share/vim/vim??/tutor/tutor2[.language]
@ -75,4 +77,6 @@ AUTHOR
SEE ALSO
vim(1)
2024 November 04 VIMTUTOR(1)