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
22
33INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode*
44
@@ -16,21 +16,28 @@ by double-clicking them.
16161.1 Commands
1717------------
1818 *: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-"
2323 will always be shown first.
2424
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 .
2828
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+ <
2936=============================================================================
30372. Creating tutorials *vim-tutor-create*
3138
3239Writing 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: >
3441
3542 :Tutor tutor
3643<
0 commit comments