1
Fork 0

Added README

master
Joshua Potter 2016-11-07 09:33:58 -08:00
parent 0f393e6da1
commit 521d458751
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
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 <cword> under the cursor into highlight registry ```x```.
* ```["x]d&```: Remove <cword> under the cursor from highlight registry ```x```.
* ```["x]c&```: Clear all words from highlight registry ```x```.
Additionally, overrides the following:
* ```["x]*```: Searches for the next <cword> and appends word into registry ```x```.
* ```["x]#```: Searches for the previous <cword> and appends word into registry ```x```.
Variables
---------
Refers to the color used for highlighting when a registry had not been initialized.
```
g:highlight_register_default_color = 'Yellow'
```