Joshua Potter 9c0c54dd00 | ||
---|---|---|
plugin | ||
README.md |
README.md
Highlight
[VERSION: 0.1]
Builds a custom registry for manipulating highlights. In particular, I found it necessary to search for different keywords without overriding previous searches; that is, I wanted to be able to continue adding more words to a search without having to keep track of which words I've already searched for.
Functionality includes:
["x]&
: Add the under the cursor into highlight registryx
.["x]d&
: Remove under the cursor from highlight registryx
.["x]c&
: Clear all words from highlight registryx
.
Additionally, overrides the following:
["x]*
: Searches for the next and appends word into registryx
.["x]#
: Searches for the previous and appends word into registryx
.
Variables
Refers to the color used for highlighting when a registry had not been initialized.
g:highlight_register_default_color = 'Yellow'