Highlight things at point, selections, enclosing parentheses with different colors. Fix grumbling issue of highlights being overridden by
There're GLOBAL and LOCAL kinds of highlights. The global highlights appear in every buffer; The local highlights only exist in the current buffer.
hl-highlight-thingatpt-globalto toggle global highlight at point or selection.
hl-unhighlight-all-globalto remove all global highlights.
hl-highlight-thingatpt-localto toggle local highlight at point or selection.
hl-unhighlight-all-localto remove all local highlights.
You can change foreground and background colors of highlights:
- Foreground colors are stored in
- Background colors are stored in
hl-global-highlight-on/off to turn highlight on or off!
Put your cursor on the highlight and use following commands to search highlights.
hl-find-prev-thing to go through highlights.
hl-highlight-mode is on, it will save highlights automatically before Emacs exits.
It will also try to restore highlights when Emacs opens.
hl-save-highlightsto save highlights;
hl-restore-highlightsto restore highlights.
- Saved file-path is stored in
- Colors of outward parentheses are stored in
- Colors of inward parentheses are stored in
This is a special faces storage. The faces storing here are always on the top of the current line highlight (
;; 'YOUR-FACE will never be hidden by current line highlight. (add-to-list 'hl-highlight-special-faces 'YOUR-FACE t)
- Highlight Enclosing syntax in Emacs REGEX.
- Integrate with
helmto give ability to navigate highlights.
- Define all the parenthesis pairs using a variable that can be highlighted. issue#8
Forks and pull requests are welcome!