Skip to content

Commit dc0be57

Browse files
committed
Update usr_05.{txt,jax}
1 parent 2ebd18f commit dc0be57

File tree

2 files changed

+49
-4
lines changed

2 files changed

+49
-4
lines changed

doc/usr_05.jax

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim バージョン 9.1. Last change: 2025 Jan 11
1+
*usr_05.txt* For Vim バージョン 9.1. Last change: 2025 Mar 18
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -477,6 +477,28 @@ nohlsearch パッケージの追加 *nohlsearch-install* *package-nohlsearch*
477477
au! nohlsearch
478478
<
479479

480+
highlight-yank パッケージの追加 *hlyank-install* *package-hlyank*
481+
482+
以下のコマンドを使用してプラグインをロードします: >
483+
packadd hlyank
484+
<
485+
このパッケージは、最後の |yank| コマンドの影響を受けた領域を簡潔にハイライトし
486+
ます。|getregionpos()| 関数を使用した簡略化された実装については、|52.6| を参照
487+
してください。
488+
489+
プラグインは以下の構成変数を理解します (設定はデフォルト値を示しています)。
490+
491+
別のハイライトグループを指定するには、以下を使用します: >
492+
:let g:hlyank_hlgroup = 'IncSearch'
493+
<
494+
異なるハイライト期間を使用するには、以下を使用します: >
495+
:let g:hlyank_duration = 300
496+
<
497+
ビジュアルモードでハイライトするには、以下を使用します: >
498+
:let g:hlyank_invisual = v:true
499+
500+
プラグインの読み込み後にその効果を無効にするには: >
501+
au! hlyank
480502
481503
パッケージについてのより詳しい情報は次の項目を参照してください: |packages|
482504

en/usr_05.txt

+26-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim version 9.1. Last change: 2025 Jan 11
1+
*usr_05.txt* For Vim version 9.1. Last change: 2025 Mar 18
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -437,7 +437,7 @@ After restarting your Vim, the plugin is active and you can read about it at: >
437437
:h editorconfig.txt
438438
439439
440-
Adding comment package *comment-install* *package-comment*
440+
Adding the comment package *comment-install* *package-comment*
441441

442442
Load the plugin with this command: >
443443
packadd comment
@@ -450,7 +450,7 @@ the package loaded. Once the package is loaded, read about it at: >
450450
:h comment.txt
451451
452452
453-
Adding nohlsearch package *nohlsearch-install* *package-nohlsearch*
453+
Adding the nohlsearch package *nohlsearch-install* *package-nohlsearch*
454454

455455
Load the plugin with this command: >
456456
packadd nohlsearch
@@ -464,6 +464,29 @@ To disable the effect of the plugin after it has been loaded: >
464464
au! nohlsearch
465465
<
466466

467+
Adding the highlight-yank package *hlyank-install* *package-hlyank*
468+
469+
Load the plugin with this command: >
470+
packadd hlyank
471+
<
472+
This package briefly highlights the affected region of the last |yank|
473+
command. See |52.6| for a simplified implementation using the |getregionpos()|
474+
function.
475+
476+
The plugin understands the following configuration variables (the settings
477+
show the default values).
478+
479+
To specify a different highlighting group, use: >
480+
:let g:hlyank_hlgroup = 'IncSearch'
481+
<
482+
To use a different highlighting duration, use: >
483+
:let g:hlyank_duration = 300
484+
<
485+
To highlight in visual mode, use: >
486+
:let g:hlyank_invisual = v:true
487+
488+
To disable the effect of the plugin after it has been loaded: >
489+
au! hlyank
467490
468491
More information about packages can be found here: |packages|.
469492

0 commit comments

Comments
 (0)