RE: Highlighting lines of text
- Hah, I actually run across that in my searches, but was put off by the
description. Upon further reading it appears to be exactly what I want.
From: Gerald Lai [mailto:laige@...]
Sent: Wednesday, May 03, 2006 4:44 PM
To: Max Dyckhoff
Subject: Re: Highlighting lines of text
On Wed, 3 May 2006, Max Dyckhoff wrote:
> I've Googled and Yahooed my way around the web trying to find the
> to this to no avail, so I thought I would query this potential gold
> of information.
> I would really love a way to be able to select a line, or a range of
> lines, press a button and have them highlighted in a different manner,
> perhaps with a yellow bg instead of black. I'm not new to scripting
> by any means, but I really can't figure out a way to do this. I
> it is going to require a per-buffer variable to store the line numbers
> that I want highlighted, and then some :highlight command, but I can't
> for the life of me work it out. Or is there some way to make it
> highlight marked lines differently, I imagine that would work too.
Give mark.vim a try: