NERDTree directory colours


I just realised that my NERDTree directory colour wasn’t inline with my Vim theme, and I couldn’t help but be bugged by it. Seems it’s a simple change. To change colour you need to use the treeDir highlight group.

To keep it synced with the ir_black theme I use, I just added the following to my colour scheme file.

  1. Hi, I am not able to use these commands. In my case I have configured the color scheme for my VIM but my Nerdtree shows no highlighting what does the treeDir refer to and do i have to mention the second statement in the color scheme vim file?

      1. Thanks for the quick response. I am trying to run the commands in the following manner:

        1. I place the command hi Directory guifg=#96CBFE guibg=#00ff00 in my .vimrc file

        2. Then I placethe command hi link Directory Keyword in my badwolf.vim color scheme file

        But when I restart VIM the NerdTree shows all white color.

      2. IIRC my post was when I was using MacVim. Now I user Vim in the terminal something like this works for me:

        hi NERDTreeDir ctermfg=DarkGrey ctermbg=White

Leave a Reply

Your e-mail address will not be published.