[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically highlighting the symbol under point
From: |
John Mastro |
Subject: |
Re: Automatically highlighting the symbol under point |
Date: |
Fri, 21 Aug 2015 13:26:23 -0700 |
> I am using prelude and if my point is over a symbol then I can call
> 'highlight-symbol-under-point' which works great. However, I can't
> figure out how to turn it off.
You can use `unhighlight-regexp' (on `C-x w r' and/or `M-s h u') for
this. It prompts for a regexp, but for your scenario you can just hit
`RET' to accept the default.
> Ideally, I would like it to automatically highlight the symbol under
> point all the time, or at least when in a programming mode - is that
> possible and any prior art you can point me at?
Check out `idle-highlight-mode' (available in MELPA) for that:
https://github.com/nonsequitur/idle-highlight-mode
--
john