On Dec 14, 8:41 am, Aarto Matti <[email protected]> wrote: > Hello, > > Is it possible to apply highlighting to a particular text block or lines > range (from line n to line m), whatever but not the whole buffer?
Aarto, If I understand what you're asking, you can do it with the Txtfmt plugin: http://www.vim.org/scripts/script.php?script_id=2208 Txtfmt provides a sort of "rich text" highlighting capability within Vim. You can apply foreground/background colors, as well as all combinations of bold, underline, italic, etc... to arbitrary regions of text. If you simply want to apply a different background color to a range of lines until further notice, it is certainly possible to do it with Vim's syntax region definitions. There may be plugins that wrap the functionality to make it easier to specify the lines you want highlighted. I'll let others speak to that... Sincerely, Brett Stahlman -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
