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

29012Re: Color Active Line

Expand Messages
  • Bernard
    Jun 3, 2002
    • 0 Attachment
      On Mon, 3 Jun 2002, [iso-8859-1] Jürgen Krämer wrote:

      >
      > Hi,
      >
      > "R. Shankar" wrote:
      > >
      > > HI, if this is the case, then I cannot , have a ColorActiveLine and
      > > search .
      >
      > you might try
      >
      > :highlight CurrentLine guibg=darkgrey guifg=white
      > :au! CursorHold * exe 'match CurrentLine /\%' . line('.') . 'l.*/'
      > :set ut=100
      >
      > Because it uses 'match' to highlight a string, it does not interfere
      > with the current search pattern.

      How would one go about turning the highlighting off if I didn't want it
      for some reason?


      Cheers,
      Bernard
    • Show all 7 messages in this topic