Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pi_tutor.{txt,jax} #1878

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions doc/pi_tutor.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pi_tutor.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
*pi_tutor.txt* For Vim バージョン 9.1. Last change: 2024 Dec 17

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

Expand All @@ -18,20 +18,28 @@ vim-tutor-mode チュートリアルはハイパーテキストドキュメン
1.1 コマンド
------------
*:Tutor*
:Tutor {tutorial} チュートリアルを開く。{tutorial} のコマンドライン補完
が提供されており、候補は 'runtimepath' の 'tutor/' フォ
ルダにある '.tutor' ファイルのリストである。'vim-' で
始まるチュートリアルは常に最初に表示される。

{tutorial} が指定されていない場合、コマンドは Vim の
`vimtutor` に相当する 'vim-01-beginner' チュートリアル
を開始する。

:Tutor [tutorial] チュートリアルを開く。[tutorial] のコマンドライン補完
が提供されており、候補は 'runtimepath' の
"tutor/<lang>" フォルダにある ".tutor" ファイルのリス
トである。"vim-" で始まるチュートリアルは常に最初に表
示される。

[tutorial] が指定されていない場合、コマンドは Vim の
`vimtutor` チャプター 1 に相当する "vim-01-beginner"
チュートリアルを開始する。

可能であれば、現在のメッセージ言語に翻訳されたチュート
リアルを使用する (|v:lang|)。例えば、イタリア語のチュー
トリアルの第 1 章を開くには、以下のようにする: >

:lang it_IT.UTF-8
:Tutor
<
=============================================================================
2. チュートリアルの作成 *vim-tutor-create*

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

:Tutor tutor
<
Expand Down
25 changes: 16 additions & 9 deletions en/pi_tutor.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pi_tutor.txt* For Vim version 9.1. Last change: 2024 Nov 09
*pi_tutor.txt* For Vim version 9.1. Last change: 2024 Dec 17

INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode*

Expand All @@ -16,21 +16,28 @@ by double-clicking them.
1.1 Commands
------------
*:Tutor*
:Tutor {tutorial} Opens a tutorial. Command-line completion for
{tutorial} is provided, the candidates are a list of
'.tutor' files found in the 'tutor/' folder in
the 'runtimepath'. Tutorials prefixed with 'vim-'
:Tutor [tutorial] Opens a tutorial. Command-line completion for
[tutorial] is provided, the candidates are a list of
".tutor" files found in the "tutor/<lang>/" folder in
the 'runtimepath'. Tutorials prefixed with "vim-"
will always be shown first.

If no {tutorial} is provided, the command starts the
'vim-01-beginner' tutorial, which is equivalent to
Vim's `vimtutor`.
If no [tutorial] is provided, the command starts the
"vim-01-beginner" tutorial, which is equivalent to
Vim's `vimtutor`, chapter 1.

Uses the translated tutorial for the current message
language if possible (|v:lang|), e.g. to open the
chapter 1 of the Italian tutor, use: >

:lang it_IT.UTF-8
:Tutor
<
=============================================================================
2. Creating tutorials *vim-tutor-create*

Writing vim-tutor-mode tutorials is easy. For an overview of the format used,
please consult the 'tutor.tutor' file: >
please consult the "tutor.tutor" file: >

:Tutor tutor
<
Expand Down
Loading