From 996171f00a84a5faa972483320510b07c30f3750 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 13 Dec 2025 08:39:11 +0900 Subject: [PATCH] Update helphelp.{txt,jax} --- doc/helphelp.jax | 8 +++++--- en/helphelp.txt | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/helphelp.jax b/doc/helphelp.jax index 2631e947d..19649b3f8 100644 --- a/doc/helphelp.jax +++ b/doc/helphelp.jax @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 Nov 09 +*helphelp.txt* For Vim バージョン 9.1. Last change: 2025 Dec 02 VIM リファレンスマニュアル by Bram Moolenaar @@ -157,9 +157,11 @@ ます。引数を与えた場合には 'runtimepath' に設定されたすべてのディレクトリの "doc/tags" から検索されます。 -ヘルプを現在のウィンドウで開きたいのならば、|help-curwin| のTIPSを参照のこと。 - ヘルプウィンドウの高さの初期値は 'helpheight' で設定できます (標準設定: 20)。 + +カレントウィンドウで {subject} に関するヘルプを開きたい場合は、helpcurwin オプ +ションパッケージを使用できる。|package-helpcurwin| を参照。 + *help-buffer-options* ヘルプバッファが作られた時、ヘルプ文章が意図したとおりに表示されるようにするた めにいくつかのローカルのオプションが設定される: diff --git a/en/helphelp.txt b/en/helphelp.txt index eb90fe9f1..c014e558c 100644 --- a/en/helphelp.txt +++ b/en/helphelp.txt @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim version 9.1. Last change: 2025 Nov 09 +*helphelp.txt* For Vim version 9.1. Last change: 2025 Dec 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -158,11 +158,12 @@ When no argument is given to |:help| the file given with the 'helpfile' option will be opened. Otherwise the specified tag is searched for in all "doc/tags" files in the directories specified in the 'runtimepath' option. -If you would like to open the help in the current window, see this tip: -|help-curwin|. - The initial height of the help window can be set with the 'helpheight' option (default 20). + +If you want to open help on {subject} in the current window, the helpcurwin +optional package can be used. See |package-helpcurwin|. + *help-buffer-options* When the help buffer is created, several local options are set to make sure the help text is displayed as it was intended: