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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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 04


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

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

Choose a reason for hiding this comment

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

上の最初の help での表示を受けての also があるので、やはり

バッファにも目次を表示できます。

としたほうがいい気がします。

Suggested change
ルタイプのバッファに目次を表示できます。また、端末バッファにも目次を表示でき
ルタイプのバッファにも目次を表示できます。また、
末バッファにも目次を表示でき

ます。このバッファには、過去に実行されたシェルコマンドのエントリが生成されま
Copy link
Contributor

@tsuyoshicho tsuyoshicho May 10, 2025

Choose a reason for hiding this comment

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

このバッファ = ポップアップのバッファですが、端末バッファそのものに表示ではなくポップアップなので...

目次を表示でき、そのときは過去に実行されたシェルコマンドのエントリが生成されます

的なのが誤解を招かずにいいのかなと思いました。

す。これらのエントリを見つけるために、デフォルトでは以下のパターンが使用されま
す: >

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

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

helptoc の詳細、特にヘルプ以外のファイルタイプでの使用やオプションの構成につい
ては、|helptoc.vim| を参照してください。

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

Expand Down
13 changes: 9 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 04


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,9 @@ 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 |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*

Expand Down