The plugin is used for highlighting/colorizing occurances of words or patterns. This can simplify reading unfamiliar code, make it possible to look at the code in a new way, or just make the code colorful.
It is inspired by the Emacs plugin highlight-symbol.
alt+k, h, w
Toggles highlights based on the current selection.
- If the selection has zero width, it is expanded to the word boundary and will only match at the same word boundary.
- If the selection has non-zero width, the the whole selection will be matched irrespective of word boundaries.
alt+k, h, c
Clears all highlights.
alt+k, h, m, c
Get a list of all highlights and select which ones to clear from the view.
alt+k, h, e, r
Edit the selected highlight's regexp (under the cursor).
alt+k, h, m, e, r
Edit the regexp for a highlighted by selecting from a menu (list of all highlights).
alt+k, h, n, r
Create a new highlight by entering a regexp.
alt+k, h, e, h
Edit the selected highlight's color (under the cursor).
Setting name | Default value | Description |
---|---|---|
debounce |
0.1 | Maximum update rate of highlights when editing file [seconds] |
color_picking_scheme |
CYCLIC | The way to select the next color for the highlight. Any of the following: CYCLIC, CYCLIC_EVEN, CYCLIC_EVEN_ORDERED, RANDOM, RANDOM_EVEN. |
Clone the repository and rename it to word_highlighter. Place it in the Sublime text Packages folder (Preferences -> Browse Packages...).