Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim NERDTree colors

Tags:

vim

nerdtree

I want to change default blue color of folders

enter image description here

How to set it?

like image 962
Vyacheslav Loginov Avatar asked Sep 28 '11 14:09

Vyacheslav Loginov


People also ask

What is NERDTree Vim?

The NERDTree is a file system explorer for the Vim editor. Using this plugin, users can visually browse complex directory hierarchies, quickly open files for reading or editing, and perform basic file system operations.

How do I switch between NERDTree tabs?

Ctrl + → arrow will switch to tab that is on the right of current tab.

How do you close a file in NERDTree?

The :wqa command will write all changed buffers and exit Vim. This will close down NerdTree, too.


2 Answers

:hi Directory guifg=#FF0000 ctermfg=red
like image 150
Eric Fortis Avatar answered Oct 17 '22 17:10

Eric Fortis


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
like image 4
Tiago Mendonça Avatar answered Oct 17 '22 17:10

Tiago Mendonça