On 07/01/09 05:07, hengxing wrote:
> For example: I want to set background color red from 5 to 10 line.
> How can I do ?

(untested) either
        :match Error /\%>4l/\%<11l.*/
or
        :hi LineBlock ctermbg=red guibg=red
        :match LineBlock /\%>4l/\%<11l.*/

In the 21nd case, the ":hi" line must be executed before the ":match" 
line. The match is not automatically updated when you delete lines.

Note that in an cterm the "red" background is sometimes a kind of dark 
reddish brown.


Best regards,
Tony.
-- 
We really don't have any enemies.  It's just that some of our best
friends are trying to kill us.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to