MacVim start is very slow

I have been using MacVim in graphics mode for several weeks, but I am very disappointed with its start time.

When I launch MacVim as an OSx application package, it starts in a few seconds. The same goes for opening a new window. I read somewhere that due to the fact that Vim starts a new process for each window, it can be caused by plugins that load during each start, slowing it down.

I don’t think that is the case, because when I execute MacVim through the terminal command, it starts almost instantly.

Does anyone know how to speed up the process of launching an application, or where could the problem be?

Thanks.

Update

MacVim was installed via Homebrew, mvim leads to / usr / local / bin / mvim β†’ ../Cellar/macvim/7.4-94/bin/mvim, which is a bash script, thar works .. Cellar / macvim / 7.4-94 / MacVim.app/Content/MacOS/Vim with the -g switch. Next to it is the MacVim binary, which is somehow needed by the Vim binaries, because when I tried to move it, it stopped working correctly. It seems that when "Vim -g" starts, it loads instantly, but MacVim starts slowly, and any new window opened from the already running "Vim" application starts up slowly.

+6
source share
1 answer

It may come from:

  • Your .vimrc Plugins
  • Your loaded .vimrc functions
  • Your shell
  • Your system memory
  • System disk space
  • Other programs executing / controlling
  • and etc.

You can also try the mvim FAQ

0
source

All Articles