Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .