How to correctly highlight cursor line in VIM?

Posted by Eye of Hell on Stack Overflow See other posts from Stack Overflow or by Eye of Hell
Published on 2010-04-28T08:52:38Z Indexed on 2010/04/28 9:13 UTC
Read the original article Hit count: 248

Filed under:

Hello.

VIM can be configured to highlight current line via :hi cursorline guibg=green and set cursorline commands. But if I enable tabs display via:

:hi specialkey guifg=grey guibg=grey
:set listchars="tab"
:set list

Cursor line highlight will corrupt tabs display:

alt text

Any hints how i can avoid corruption so may tabs are highlighted with one color and cursor line is highlighted with another color without any ^I displayed at intersection?

© Stack Overflow or respective owner

Related posts about vim