开发者

Vim NERDTree colors

开发者 https://www.devze.com 2023-04-08 20:25 出处:网络
I want to change d开发者_运维知识库efault blue color of folders How to set it?:hi Directory guifg=#FF0000 ctermfg=red

I want to change d开发者_运维知识库efault blue color of folders

Vim NERDTree colors

How to set it?


:hi Directory guifg=#FF0000 ctermfg=red


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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消