Profiling Vim startup time

前端 未结 10 455
孤独总比滥情好
孤独总比滥情好 2020-12-07 07:16

I’ve got a lot of plugins enabled when using Vim – I have collected plugins over the years. I’m a bit fed up with how long Vim takes to start now, so I’d like to profile it

10条回答
  •  情歌与酒
    2020-12-07 07:43

    I refined the vim -V solution by innaM to show the delta time:

    vim -V 2>&1 | perl -MTime::HiRes=time -ne '$a = time unless defined $a; print time - $a, ": ", $_' | tee vilog
    

提交回复
热议问题