Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I go into the Directory Listing in Vim the colour of files is nice and legible but directories are dark blue and impossible to read

I know this will change the colour to white, but I don't know what the [xyz] bit should be?

hi [xyz] ctermfg=white
share|improve this question
    
First of all, are you properly setting your 'background' option? –  Heptite Mar 1 '11 at 1:08
add comment

1 Answer

up vote 0 down vote accepted
hi Directory gui=italic,bold guifg=Yellow guibg=Blue

Equally for the cterm (instead of the "gui" part)

Note that cterm supports only some colours.

So in your case

hi Directory ctermfg=White
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.