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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -437,7 +437,7 @@ After restarting your Vim, the plugin is active and you can read about it at: >
437
437
:h editorconfig.txt
438
438
439
439
440
- Adding comment package *comment-install* *package-comment*
440
+ Adding the comment package *comment-install* *package-comment*
441
441
442
442
Load the plugin with this command: >
443
443
packadd comment
@@ -450,7 +450,7 @@ the package loaded. Once the package is loaded, read about it at: >
450
450
:h comment.txt
451
451
452
452
453
- Adding nohlsearch package *nohlsearch-install* *package-nohlsearch*
453
+ Adding the nohlsearch package *nohlsearch-install* *package-nohlsearch*
454
454
455
455
Load the plugin with this command: >
456
456
packadd nohlsearch
@@ -464,6 +464,29 @@ To disable the effect of the plugin after it has been loaded: >
464
464
au! nohlsearch
465
465
<
466
466
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
467
490
468
491
More information about packages can be found here: | packages | .
469
492
0 commit comments