[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically highlighting the symbol under point
From: |
Colin Yates |
Subject: |
Re: Automatically highlighting the symbol under point |
Date: |
Fri, 21 Aug 2015 21:34:09 +0100 |
Thanks John.
On 21 Aug 2015 21:32, "John Mastro" <john.b.mastro@gmail.com> wrote:
> >> 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
>
> After you install it, you can active it in programming modes with
> something like this:
>
> (defun my-programming-config ()
> (idle-highlight-mode 1))
>
> (add-hook 'prog-mode-hook #'my-programming-config)
>
> --
> john
>
>