help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keywords highlighting


From: Alan Mackenzie
Subject: Re: keywords highlighting
Date: Wed, 8 Feb 2006 17:18:18 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Kirill Kuvaldin <kuvkir@qwertyru.ru> wrote on 7 Feb 2006 20:29:50 +0100:

> Hey, I wanna emacs to highlight keywords (such as FIXME, TODO, ...)
> like VIM.  How can it be achieved?

With M-x hi-lock-mode.  Having done this in a buffer, do

C-x w h \<FIXME\> <ret> hi-yellow

.  To save these settings in your file, do C-x w b.

> -- 
> kuvkir

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]