Skip to content

Commit e63e782

Browse files
authored
Merge pull request #1878 from h-east/update-pi_tutor
Update pi_tutor.{txt,jax}
2 parents 7bbd711 + 311943d commit e63e782

File tree

2 files changed

+35
-20
lines changed

2 files changed

+35
-20
lines changed

doc/pi_tutor.jax

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_tutor.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
1+
*pi_tutor.txt* For Vim バージョン 9.1. Last change: 2024 Dec 17
22

33
☆Vim の対話的なチュートリアル *vim-tutor-mode*
44

@@ -18,20 +18,28 @@ vim-tutor-mode チュートリアルはハイパーテキストドキュメン
1818
1.1 コマンド
1919
------------
2020
*:Tutor*
21-
:Tutor {tutorial} チュートリアルを開く。{tutorial} のコマンドライン補完
22-
が提供されており、候補は 'runtimepath' の 'tutor/' フォ
23-
ルダにある '.tutor' ファイルのリストである。'vim-' で
24-
始まるチュートリアルは常に最初に表示される。
25-
26-
{tutorial} が指定されていない場合、コマンドは Vim の
27-
`vimtutor` に相当する 'vim-01-beginner' チュートリアル
28-
を開始する。
29-
21+
:Tutor [tutorial] チュートリアルを開く。[tutorial] のコマンドライン補完
22+
が提供されており、候補は 'runtimepath'
23+
"tutor/<lang>" フォルダにある ".tutor" ファイルのリス
24+
トである。"vim-" で始まるチュートリアルは常に最初に表
25+
示される。
26+
27+
[tutorial] が指定されていない場合、コマンドは Vim の
28+
`vimtutor` チャプター 1 に相当する "vim-01-beginner"
29+
チュートリアルを開始する。
30+
31+
可能であれば、現在のメッセージ言語に翻訳されたチュート
32+
リアルを使用する (|v:lang|)。例えば、イタリア語のチュー
33+
トリアルの第 1 章を開くには、以下のようにする: >
34+
35+
:lang it_IT.UTF-8
36+
:Tutor
37+
<
3038
=============================================================================
3139
2. チュートリアルの作成 *vim-tutor-create*
3240

3341
vim-tutor-mode チュートリアルの作成は簡単である。使用される形式の概要について
34-
は、'tutor.tutor' ファイルを参照: >
42+
は、"tutor.tutor" ファイルを参照: >
3543
3644
:Tutor tutor
3745
<

en/pi_tutor.txt

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode*
44

@@ -16,21 +16,28 @@ by double-clicking them.
1616
1.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
=============================================================================
3037
2. Creating tutorials *vim-tutor-create*
3138

3239
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: >
3441
3542
:Tutor tutor
3643
<

0 commit comments

Comments
 (0)