3

vim over ssh to a linux system is taking a very long time at startup.
Profiling with vim --startuptime I found that the problem is setting up the clipboard:

clock   elapsed: 
5042.066  5041.140: setup clipboard

Is there a way to disable this step?
I never use that anyway and I'd rather have a quicker startup.

4

1 回答 1

10

通过更多谷歌搜索找到了解决方案:

set clipboard=exclude:.*

现在启动时间很快!

于 2013-07-01T10:28:02.770 回答