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.

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 https://github.com/akitaonrails/vimfiles as my vimfile/plugins.

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

share|improve this question
add comment

1 Answer

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