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>
diff --git a/runtime/doc/usr_01.txt b/runtime/doc/usr_01.txt
index 604e26b..8a513e8 100644
--- a/runtime/doc/usr_01.txt
+++ b/runtime/doc/usr_01.txt
@@ -145,13 +145,13 @@
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:
>
diff --git a/runtime/doc/vimtutor-it.1 b/runtime/doc/vimtutor-it.1
index 28d921b..47952c7 100644
--- a/runtime/doc/vimtutor-it.1
+++ b/runtime/doc/vimtutor-it.1
@@ -76,7 +76,7 @@
.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
.
diff --git a/runtime/doc/vimtutor-it.UTF-8.1 b/runtime/doc/vimtutor-it.UTF-8.1
index 47b68b5..3eccff7 100644
--- a/runtime/doc/vimtutor-it.UTF-8.1
+++ b/runtime/doc/vimtutor-it.UTF-8.1
@@ -76,7 +76,7 @@
.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
.
diff --git a/runtime/doc/vimtutor.1 b/runtime/doc/vimtutor.1
index 87f0978..7f32004 100644
--- a/runtime/doc/vimtutor.1
+++ b/runtime/doc/vimtutor.1
@@ -19,11 +19,12 @@
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 @@
.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 @@
.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 @@
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
diff --git a/runtime/doc/vimtutor.man b/runtime/doc/vimtutor.man
index 29b56cb..44cb9da 100644
--- a/runtime/doc/vimtutor.man
+++ b/runtime/doc/vimtutor.man
@@ -1,5 +1,7 @@
VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
+
+
NAME
vimtutor - the Vim tutor
@@ -13,8 +15,8 @@
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 @@
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 @@
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 @@
SEE ALSO
vim(1)
+
+
2024 November 04 VIMTUTOR(1)