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.

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

1 Answer

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