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

I'm new to Vim and loving it, but I have an annoying problem; whenever I toggle NERDTREE, I get this message:

Please wait, caching a Large dir...

Vim then becomes unresponsive until I quit it. I don't know what the default directory is, but if it's a large one, can I change it?

share|improve this question
up vote 0 down vote accepted

The default directory is your "home" directory. You can open a different directory by typing its name like this:

:NERDTree /path/to/directory

or the current directory like that:

:NERDTree .

Make a custom mapping to make the process faster.

That said, my home directory weights 361 Gb for 187 900 elements and the caching takes about 2 seconds. You might have another problem somewhere.

share|improve this answer

You must log in to answer this question.

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