Extremelly simple highlight functionallity.
This package provides functionality for highlighting the thing at point. Multiple calls to the highlight function will result in changing the highlight color. There is also
This package was tested for GNU Emacs 24.4 and above. Older Emacsen should work but I have not tested with them.
You can install via MELPA
, or manually by downloading simple-highlight.el
and adding the following to your init file:
(add-to-list 'load-path "/path/to/simple-highlight")
Just require simple-highlight
somewhere in your init file:
(require 'simple-highlight)
See the Function Documentation for more details.
this be simple test
I suggest you to add keybindings to the following functions:
(global-set-key (kbd "C-c p h") 'simple-highlight-at-point)
(global-set-key (kbd "C-c p u") 'simple-highlight-unhighlight-at-point)
(global-set-key (kbd "C-c p U") 'simple-highlight-unhighlight-all)
You can change the faces you want to use for highlight by setting the
variable simple-highlight-faces
. For example:
(setq simple-highlight-faces '(hi-green hi-yellow hi-blue))
1.0 - First release.
Gets the next highlight face from list.
Highlight the sexp at point. The color of the highlight is changed with each highlighting.
Unhighlight the sexp at point.
Unhighlight all the highlights in current buffer.