Skip to content

Commit 60916f2

Browse files
committed
Update usr_05.{txt,jax}
1 parent ceced2b commit 60916f2

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

doc/usr_05.jax

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim バージョン 9.1. Last change: 2024 May 17
1+
*usr_05.txt* For Vim バージョン 9.1. Last change: 2024 Jun 19
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -453,7 +453,7 @@ Vim を再起動するとプラグインがアクティブになり、以下で
453453
コメントパッケージの追加 *comment-install*
454454

455455
以下のコマンドを使用してプラグインをロードします: >
456-
packadd comment
456+
packadd comment
457457
<
458458
こうすることで、コメント用の `gc` および同じようなデフォルトキーバインディング
459459
(Vim コミュニティでは定評のあるマッピングです) でプラグインを使用できます。
@@ -462,6 +462,22 @@ Vim を再起動するとプラグインがアクティブになり、以下で
462462
必要があります。パッケージがロードされたら、以下を読んでください: >
463463
:h comment.txt
464464
465+
466+
nohlsearch パッケージの追加 *nohlsearch-install*
467+
468+
以下のコマンドを使用してプラグインをロードします: >
469+
packadd nohlsearch
470+
<
471+
'updatetime' の後、または |Insert| モードに入った後に、|:nohlsearch| を自動的
472+
に実行します。
473+
したがって、デフォルトの updatetime だと仮定すると、hlsearch はアイドル時間の
474+
4 秒後に一時停止/オフになります。
475+
476+
プラグインが読み込まれた後にその効果を無効にするには: >
477+
au! nohlsearch
478+
<
479+
480+
465481
パッケージについてのより詳しい情報は次の項目を参照してください: |packages|
466482

467483
==============================================================================

en/usr_05.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim version 9.1. Last change: 2024 May 17
1+
*usr_05.txt* For Vim version 9.1. Last change: 2024 Jun 19
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -440,7 +440,7 @@ After restarting your Vim, the plugin is active and you can read about it at: >
440440
Adding comment package *comment-install*
441441

442442
Load the plugin with this command: >
443-
packadd comment
443+
packadd comment
444444
<
445445
This way you can use the plugin with the default key bindings `gc` and similar
446446
for commenting (which is a well-established mapping in the Vim community).
@@ -449,6 +449,21 @@ If you add this line to your vimrc file, then you need to restart Vim to have
449449
the package loaded. Once the package is loaded, read about it at: >
450450
:h comment.txt
451451
452+
453+
Adding nohlsearch package *nohlsearch-install*
454+
455+
Load the plugin with this command: >
456+
packadd nohlsearch
457+
<
458+
Automatically execute |:nohlsearch| after 'updatetime' or getting into |Insert| mode.
459+
Thus assuming default updatetime, hlsearch would be suspended/turned off after
460+
4 seconds of idle time.
461+
462+
To disable the effect of the plugin after it has been loaded: >
463+
au! nohlsearch
464+
<
465+
466+
452467
More information about packages can be found here: |packages|.
453468

454469
==============================================================================

0 commit comments

Comments
 (0)