On Jul 12, 8:38 am, stardiviner <[email protected]> wrote:
> how to add a colored line behind line number.
> here is the 
> example:http://blog.nguyenvq.com/2011/06/29/some-custom-emacs-keybindings-for...
>

Are you asking for every other line to be highlighted in a different
color as shown in the screen shot?

You can't do it exactly like the screenshot, and it will slow down
performance greatly, but you might be able to use a bunch of
matchadd() calls, to set up matches for all text on each line.

The line number column will not be highlighted, and only text within
the line will be highlighted.

There is no way to highlight entire lines, including empty space and
line numbers, alternating between two different backgrounds. At least,
not without modifying Vim's C code and recompiling.

-- 
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

Reply via email to