Tuesday, July 31, 2012

Re: Enable option / disable option

On Tuesday, 31 July 2012 12:51:52 UTC+1, dotancohen wrote:
> On Superuser I found this nice way to highlight the word under the

> cursor for the whole page:

> http://superuser.com/questions/255024/vim-highlighting-a-search-term-without-moving-the-cursor
>
> I would like to enable / disable this feature, for instance on
> <leader>h.
Here's another way to highlight the word under the cursor

http://vim.wikia.com/wiki/VimTip1572

If you use this plugin, you can simply enable the functionality

\m

then use a NumPad key to assign a colour to that
word everywhere without moving your cursor.

1

You can us many different highlights at once for many
different words, or more complex search patterns if you
wish.

Doesn't answer your programming question of course,
just evades it :)

regards,
Geoff

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: