Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Tried on both macvim snapshot 53 and the recent 55.

When I open a Rails directory with "mvim .", it starts up NERD_Tree. When I open any file, it takes about 5 secs to load on my macbook pro intel core duo 2 2.5GHz 4GB of RAM.

I'm mostly using as my vimfile/plugins.

How can I find what's causing the long load time?

share|improve this question
up vote 4 down vote accepted

From VIM 7, plugins can load in 2 stages to make startup quicker. As I understand it, the plugins get registered straight away but the bulk of the plugin is only loaded as needed. If you're using a set of plugins that apply to any filetype, or are ruby/rails specific then when you load the first file there will be a delay like that. I have the same problem, I've confirmed its nothing to do with NerdTree, opening with ":e" has the same delay.

share|improve this answer

Your Answer


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.