Loading ...
Sorry, an error occurred while loading the content.

RE: Highlighting lines of text

Expand Messages
  • Max Dyckhoff
    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 ...
    Message 1 of 3 , May 3, 2006
    • 0 Attachment
      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:laige@...]
      Sent: Wednesday, May 03, 2006 4:44 PM
      To: Max Dyckhoff
      Cc: vim@...
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.