Search code examples
vimmacvimnerdtree

Vim NERDTree highlight line color


I've found how I can change the color of the folders and such, but how do I change it when the cursor highlights over it?

I don't like how highlighted folders turn white. I want it to stay gray, because it's too confusing having it turn the same color as files.

enter image description here


Solution

  • For terminal vim

    :highlight CursorLine ctermfg=grey
    

    For macvim

    :highlight CursorLine guifg=grey
    

    See :help highlight for more options.