Here is a portion of my .vimrc :
set background=dark
set cul
hi CursorLine term=underline cterm=underline gui=underline
On Linux, vim displays fine and the cursor line is underlined with a thin white line. Using the same .vimrc file on Windows (under cygwin), the cursor line has a dark red background instead of being underlined. No amount of playing with hi CursorLine seems to do the trick. Is there a way to underline the current line on Cygwin/Windows or is that a limitation of the Windows command window?

mintty. – Darren Hall Jul 15 '11 at 16:53