On Dec 10, 7:29 am, jack <[EMAIL PROTECTED]> wrote:
> sorry gays for my misleading request,
> what i want is how to change the background colors of some lines
>
Vim is not really meant to do that kind of thing...it's a text editor,
not a word processor or WSIWYG publication platform.
However, there are a few ways.
One way is using the txtfmt plugin:
http://www.vim.org/scripts/script.php?script_id=2208
Another way is to use :match, :2match, :3match, or matchadd().
See :help :match, :help matchadd(). This way will not be permanent in
any way, shape, or form.
A final way would be to define syntax highlighting rules, but I don't
think that's what you want. These are usually associated with file
type.
Note that, even using txtfmt, the colors will only show up in Vim, or
if you use the 2html feature. I believe this is discussed in the
txtfmt documentation (though I don't use it at all, so I could be
wrong).
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---