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 http://dl.dropbox.com/u/239055/vim_cursorline_bug.png
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?
Try setting
listcharswithout the quotes:This shows the tab as
>-------instead of^I, which I think is what you were asking. When the cursor is on the line with the tab, the whole line is displayed in thecursorlinecolour.It appears that the
cursorlinecolour takes precedence over thespecialkeycolour, which is consistent with your screenshot.