1
Fork 0
A custom registry built for highlighting
vim
 
Go to file
Joshua Potter d23fd5166d Quick docs 2016-11-07 17:49:02 -08:00
doc Quick docs 2016-11-07 17:49:02 -08:00
plugin Quick docs 2016-11-07 17:49:02 -08:00
README.md Added README 2016-11-07 09:33:58 -08:00

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 registry x.
  • ["x]d&: Remove 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 and appends word into registry x.
  • ["x]#: Searches for the previous 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'