From 8642dc526d857f6ca25289f83cbf6dabb3ebfafe Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 10 May 2025 05:18:37 +0900 Subject: [PATCH 1/4] Update helphelp.{txt,jax} --- doc/helphelp.jax | 13 +++++++++---- en/helphelp.txt | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/doc/helphelp.jax b/doc/helphelp.jax index e76a8f845..102655857 100644 --- a/doc/helphelp.jax +++ b/doc/helphelp.jax @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 Apr 21 +*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 May 04 VIMリファレンスマニュアル by Bram Moolenaar @@ -283,9 +283,11 @@ $VIMRUNTIME/docにあるファイルは対象外です。 | 最初のエントリを選択する | 最後のエントリを選択する -このプラグインは、man ページ、markdown ファイル、および端末バッファに目次を提 -供することもできます。端末バッファの場合、エントリは過去に実行されたシェルコマ -ンドになります。それらを検索するために、以下のパターンが使用されます: > +このプラグインは、asciidoc、html、man、markdown、tex、vim、xhtml といったファ +イルタイプのバッファに目次を表示できます。また、端末バッファにも目次を表示でき +ます。このバッファには、過去に実行されたシェルコマンドのエントリが生成されま +す。これらのエントリを見つけるために、デフォルトでは以下のパターンが使用されま +す: > ^\w\+@\w\+:\f\+\$\s @@ -298,6 +300,9 @@ $VIMRUNTIME/docにあるファイルは対象外です。 Tip: `/` コマンドで検索するパターンを挿入した後、 ではなく を押すと、 `J` または `K` を押すことで残りの各エントリの詳細なコンテキストを取得できます。 +helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの設定につい +ては、|helptoc.vim| を参照してください。 + ============================================================================== 2. 翻訳ヘルプ *help-translated* diff --git a/en/helphelp.txt b/en/helphelp.txt index 647c35ad2..4e08d9059 100644 --- a/en/helphelp.txt +++ b/en/helphelp.txt @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim version 9.1. Last change: 2025 Apr 21 +*helphelp.txt* For Vim version 9.1. Last change: 2025 May 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -287,9 +287,11 @@ The latter supports the following normal commands: > | select first entry | select last entry -The plugin can also provide a table of contents in man pages, markdown files, -and terminal buffers. In the latter, the entries will be the past executed -shell commands. To find those, the following pattern is used: > +The plugin can also provide a table of contents in buffers of the following +filetypes: asciidoc, html, man, markdown, tex, vim, and xhtml. In addition +it also provide a table of contents for a terminal buffer, which produces +entries that are the past executed shell commands. To find those, by default, +the following pattern is used: > ^\w\+@\w\+:\f\+\$\s @@ -303,6 +305,9 @@ Tip: After inserting a pattern to look for with the `/` command, if you press instead of , you can then get more context for each remaining entry by pressing `J` or `K`. +Refer |helptoc.vim| for more details about helptoc, particularly about using +it with filetypes other than help, and configuring its options. + ============================================================================== 2. Translated help files *help-translated* From c848c38432cdc5587fc57c2bdf77a55f3b09b551 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 10 May 2025 17:22:28 +0900 Subject: [PATCH 2/4] Fix by review --- doc/helphelp.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/helphelp.jax b/doc/helphelp.jax index 102655857..0263f44ce 100644 --- a/doc/helphelp.jax +++ b/doc/helphelp.jax @@ -300,7 +300,7 @@ $VIMRUNTIME/docにあるファイルは対象外です。 Tip: `/` コマンドで検索するパターンを挿入した後、 ではなく を押すと、 `J` または `K` を押すことで残りの各エントリの詳細なコンテキストを取得できます。 -helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの設定につい +helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの構成につい ては、|helptoc.vim| を参照してください。 ============================================================================== From 68493ae705b0f68d572e2d5da11f646e5da452d2 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 31 May 2025 20:29:47 +0900 Subject: [PATCH 3/4] Update by original --- doc/helphelp.jax | 7 ++++--- en/helphelp.txt | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/helphelp.jax b/doc/helphelp.jax index 0263f44ce..2b7d183d2 100644 --- a/doc/helphelp.jax +++ b/doc/helphelp.jax @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 May 04 +*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 May 31 VIMリファレンスマニュアル by Bram Moolenaar @@ -300,8 +300,9 @@ $VIMRUNTIME/docにあるファイルは対象外です。 Tip: `/` コマンドで検索するパターンを挿入した後、 ではなく を押すと、 `J` または `K` を押すことで残りの各エントリの詳細なコンテキストを取得できます。 -helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの構成につい -ては、|helptoc.vim| を参照してください。 +helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの設定につい +ては、|helptoc.txt| を参照してください。 +Note: |helptoc.txt| に移動する前に `packadd helptoc` を実行する必要があります。 ============================================================================== 2. 翻訳ヘルプ *help-translated* diff --git a/en/helphelp.txt b/en/helphelp.txt index 4e08d9059..4af6efd2d 100644 --- a/en/helphelp.txt +++ b/en/helphelp.txt @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim version 9.1. Last change: 2025 May 04 +*helphelp.txt* For Vim version 9.1. Last change: 2025 May 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -305,8 +305,9 @@ Tip: After inserting a pattern to look for with the `/` command, if you press instead of , you can then get more context for each remaining entry by pressing `J` or `K`. -Refer |helptoc.vim| for more details about helptoc, particularly about using -it with filetypes other than help, and configuring its options. +Refer to |helptoc.txt| for more details about helptoc, particularly about +using it with filetypes other than help, and configuring its options. +Note: You need to `packadd helptoc` before you can jump to |helptoc.txt|. ============================================================================== 2. Translated help files *help-translated* From 59e27f99b5d93974029161990363ffe4356af6d9 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 31 May 2025 20:46:25 +0900 Subject: [PATCH 4/4] Fix by review --- doc/helphelp.jax | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/helphelp.jax b/doc/helphelp.jax index 2b7d183d2..9114b8e38 100644 --- a/doc/helphelp.jax +++ b/doc/helphelp.jax @@ -283,11 +283,10 @@ $VIMRUNTIME/docにあるファイルは対象外です。 | 最初のエントリを選択する | 最後のエントリを選択する -このプラグインは、asciidoc、html、man、markdown、tex、vim、xhtml といったファ -イルタイプのバッファに目次を表示できます。また、端末バッファにも目次を表示でき -ます。このバッファには、過去に実行されたシェルコマンドのエントリが生成されま -す。これらのエントリを見つけるために、デフォルトでは以下のパターンが使用されま -す: > +このプラグインは以下のファイルタイプのバッファ: asciidoc、html、man、markdown、 +tex、vim、xhtml でも目次を生成できます。さらに、端末バッファ用の目次も作成可能 +で、過去に実行したシェルコマンドを項目として表示します。デフォルトでは次のパ +ターンを使用してこれらのコマンドを検索します: > ^\w\+@\w\+:\f\+\$\s