Skip to content

Update helphelp.{txt,jax} #2068

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

Merged
merged 4 commits into from
Jun 1, 2025
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
13 changes: 9 additions & 4 deletions doc/helphelp.jax
Original file line number Diff line number Diff line change
@@ -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 31


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -283,9 +283,10 @@ $VIMRUNTIME/docにあるファイルは対象外です。
<Home> | 最初のエントリを選択する
<End> | 最後のエントリを選択する

このプラグインは、man ページ、markdown ファイル、および端末バッファに目次を提
供することもできます。端末バッファの場合、エントリは過去に実行されたシェルコマ
ンドになります。それらを検索するために、以下のパターンが使用されます: >
このプラグインは以下のファイルタイプのバッファ: asciidoc、html、man、markdown、
tex、vim、xhtml でも目次を生成できます。さらに、端末バッファ用の目次も作成可能
で、過去に実行したシェルコマンドを項目として表示します。デフォルトでは次のパ
ターンを使用してこれらのコマンドを検索します: >

^\w\+@\w\+:\f\+\$\s

Expand All @@ -298,6 +299,10 @@ $VIMRUNTIME/docにあるファイルは対象外です。
Tip: `/` コマンドで検索するパターンを挿入した後、<CR> ではなく <Esc> を押すと、
`J` または `K` を押すことで残りの各エントリの詳細なコンテキストを取得できます。

helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの設定につい
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全くこのままで問題ないのですが、h-east さんはよく "configure" に「構成」という訳をあててらした気がするのでコメントだけ。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「「設定」と訳すとなんか違うなぁ」って時に「構成」と訳している感じですね。
「構成」に変更します。


で、気付いたんですが、同じ行の |helptoc.vim||helptoc.txt| のtypoじゃないかな?
しかも、:packadd helptoc してからじゃないと飛べない。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

確かに、|helptoc.vim| というタグはないですね...。Typo で間違いないと思います。
packadd 問題はどうすると良いんでしょうね。pacadd してから飛んでね、と help に書くか、helptoc のドキュメントの配置場所を変えるか、ですかねえ。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本家を突いて直してもらいました。再レビューたのむ。

ては、|helptoc.txt| を参照してください。
Note: |helptoc.txt| に移動する前に `packadd helptoc` を実行する必要があります。

==============================================================================
2. 翻訳ヘルプ *help-translated*

Expand Down
14 changes: 10 additions & 4 deletions en/helphelp.txt
Original file line number Diff line number Diff line change
@@ -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 31


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -287,9 +287,11 @@ The latter supports the following normal commands: >
<Home> | select first entry
<End> | 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

Expand All @@ -303,6 +305,10 @@ Tip: After inserting a pattern to look for with the `/` command, if you press
<Esc> instead of <CR>, you can then get more context for each remaining entry
by pressing `J` or `K`.

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*

Expand Down