Vim was much faster on the time when I installed it freshly. It now takes 2-4 seconds from the time I hit enter after typing vim inside terminal and the opening of Vim (even without any file/argument).
I have:
- 7 plugins (autocorrect, auto-pairs, closetag, snipMate, supertab, tetris)
- No colorschemes
- A
.vimrcfile with these configurations - The
.vimrcfile in my home directory is a symlink, the real file is in.vimdirectory -
I am starting Vim in insert mode (I have alias in
.bash_aliasesfile):alias vim="vim -c 'startinsert'" alias vi="vi -c 'startinsert'"
What is slowing down my Vim?
I’m almost sure that
autocorrect.vimis the reason. Just looked into it and saw 8152 lines. All these lines are parsed by Vim at its startup, which slows it down.For the future. You can start vim with
--startuptimeargument to know exactly what slows down its loading, e.g.Examining of produced file will give you information about time spent for loading different scripts.