Vyacheslav Loginov
Vyacheslav Loginov

Reputation: 3216

Vim NERDTree colors

I want to change default blue color of folders

enter image description here

How to set it?

Upvotes: 15

Views: 16590

Answers (4)

upuls
upuls

Reputation: 11

Not a heavy vim user, but, I think you can add the following to your .vimrc to highlight the folders/directories in Cyan

highlight Directory ctermfg=cyan

Have only tried this out in MacOS 10.14

Upvotes: 1

Tiago Mendonça
Tiago Mendonça

Reputation: 199

If you want to customize file colors based on extension, I created this plugin. You can use it with vim-devicons, but If you don't have it, you can add this line to your .vimrc and it will highlight the filenames:

let g:NERDTreeFileExtensionHighlightFullName = 1

Upvotes: 4

Eric Fortis
Eric Fortis

Reputation: 17360

:hi Directory guifg=#FF0000 ctermfg=red

Upvotes: 32

lucapette
lucapette

Reputation: 20724

NERDTree doesn't provide such an option but looking at the source and reading about highlight you could come up with some customization.

Upvotes: 0

Related Questions