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.
Thanks! Max -----Original Message----- From: Gerald Lai [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 4:44 PM To: Max Dyckhoff Cc: vim@vim.org 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 answer > to this to no avail, so I thought I would query this potential gold mine > 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 vim > by any means, but I really can't figure out a way to do this. I suspect > 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. [snip] Max, Give mark.vim a try: http://www.vim.org/scripts/script.php?script_id=1238 HTH. -- Gerald