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
442442Load 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
455455Load 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