Using gt and :tabnext I need to wait some time and I experience the same lag when I use :split myfile.txt.

However vim myfile.txt from bash opens much faster.

My Mac is pretty fast, and I don't have too many plugins installed. I use Vim 8 installed with Brew.

  • 1
    See this question the lag probably comes from a plugin or a configuration in your vimrc. The question I linked should help you to find out what causes your problem.
    – statox
    Dec 5, 2017 at 8:42

1 Answer 1


I started Vim without my vimrc and plugins using
HOME=/dev/null vim -u NONE myfile.txt

Works fast. So I need to investigate the plugins and my configuration...

UPDATE: bottleneck was in plugin tern_for_vim, I filled the issue.

  • Glad you've tracked down the issue! You should mark this answer as accepted by clicking the tick mark so future readers know the problem has been solved.
    – Rich
    Dec 5, 2017 at 9:47
  • I need to wait two days before I can accept :) this is impossible now Dec 5, 2017 at 9:50
  • Ah, sorry! I forgot about the enforced delay.
    – Rich
    Dec 5, 2017 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.