Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubaldot/vim-highlight-yanked
Highlight yanked text for Vim9 in less than 100 lines of code.
https://github.com/ubaldot/vim-highlight-yanked
vim vim-plugin vim9
Last synced: 2 months ago
JSON representation
Highlight yanked text for Vim9 in less than 100 lines of code.
- Host: GitHub
- URL: https://github.com/ubaldot/vim-highlight-yanked
- Owner: ubaldot
- License: bsd-3-clause
- Created: 2023-05-28T18:04:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T06:51:35.000Z (4 months ago)
- Last Synced: 2024-09-14T09:50:11.362Z (4 months ago)
- Topics: vim, vim-plugin, vim9
- Language: Vim Script
- Homepage: https://www.vim.org/scripts/script.php?script_id=6075
- Size: 2.09 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vim9 - vim-highlight-yanked
README
# vim-highlight-yanked
Highlight yanked text for Vim9.
# Configuration
```
# Default values
g:hlyanked_hlgroup = 'Visual'
g:hlyanked_timeout = 400 # [ms]
```When you yank some new text, the newly yanked text ends up in the 1 register
and the content of the following registers is shifted by one (i.e. the content
of register 2 is moved into register 3, the content of register 3 is moved
into register 4 and so on). In this way you never lose previously yanked text.To disable such a behavior set:
```
g:hlyanked_save_yanks = false
```# License
BSD-3 Clause.