1
- *pi_tutor.txt* For Vim version 9.1. Last change: 2024 Nov 09
1
+ *pi_tutor.txt* For Vim version 9.1. Last change: 2024 Dec 17
2
2
3
3
INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode*
4
4
@@ -16,21 +16,28 @@ by double-clicking them.
16
16
1.1 Commands
17
17
------------
18
18
*:Tutor*
19
- :Tutor { tutorial} Opens a tutorial. Command-line completion for
20
- { tutorial} is provided, the candidates are a list of
21
- ' .tutor' files found in the ' tutor/' folder in
22
- the 'runtimepath' . Tutorials prefixed with ' vim-'
19
+ :Tutor [ tutorial] Opens a tutorial. Command-line completion for
20
+ [ tutorial] is provided, the candidates are a list of
21
+ " .tutor" files found in the " tutor/<lang> /" folder in
22
+ the 'runtimepath' . Tutorials prefixed with " vim-"
23
23
will always be shown first.
24
24
25
- If no { tutorial} is provided, the command starts the
26
- ' vim-01-beginner' tutorial, which is equivalent to
27
- Vim's `vimtutor` .
25
+ If no [ tutorial] is provided, the command starts the
26
+ " vim-01-beginner" tutorial, which is equivalent to
27
+ Vim's `vimtutor` , chapter 1 .
28
28
29
+ Uses the translated tutorial for the current message
30
+ language if possible (| v:lang | ), e.g. to open the
31
+ chapter 1 of the Italian tutor, use: >
32
+
33
+ :lang it_IT.UTF-8
34
+ :Tutor
35
+ <
29
36
=============================================================================
30
37
2. Creating tutorials *vim-tutor-create*
31
38
32
39
Writing vim-tutor-mode tutorials is easy. For an overview of the format used,
33
- please consult the ' tutor.tutor' file: >
40
+ please consult the " tutor.tutor" file: >
34
41
35
42
:Tutor tutor
36
43
<
0 commit comments