当我在MacOS X上打开vim(或gvim)时,窗口会立即打开,但在光标出现之前会有一秒钟的暂停。我已经分析了我的插件,但是他们的启动时间没有考虑暂停的长度:
ExecTime" "PluginName"
42.126 "syntastic"
15.896 "unite.vim"
7.116 "vim-textobj-rubyblock"
6.77 "vim-fugitive"
6.653 "vim-easymotion"
4.707 "tabular"
1.787 "neomru.vim"
1.585 "vim-table-mode"
1.376 "tagbar"
1.106 "L9"
1.053 "vim-textobj-user"
1.042 "neoyank.vim"
1.027 "vim-surround"
0.679 "vim-exchange"
0.667 "Vundle.vim"
0.645 "neocomplete.vim"
0.512 "neosnippet.vim"
0.355 "vim-commentary"
0.321 "restore_view.vim"
0.187 "ag.vim"
0.167 "vimproc.vim"
0.15 "tern_for_vim"
0.115 "vim-javascript-syntax"
0.114 "scss-syntax.vim"
0.113 "vim-slim"
0.099 "vim-snippets"
0.077 "Rename"
如果我使用--startuptime
标志,它会产生200万行的文件,而且我不知道如何提取相关信息。
可能导致问题的原因是什么?我还能怎么调试呢?