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

29011Re: Color Active Line

Expand Messages
  • Jürgen Krämer
    Jun 3, 2002
    • 0 Attachment
      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.

      Regards,
      Jürgen

      --
      Jürgen Krämer Softwareentwicklung/-support
      Habel GmbH mailto:software@...
      Hinteres Öschle 2 Tel: (0 74 61) 93 53 15
      78604 Rietheim-Weilheim Fax: (0 74 61) 93 53 99
    • Show all 7 messages in this topic