1

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.

statox
  • 49,782
  • 19
  • 148
  • 225
Vitaly Zdanevich
  • 283
  • 1
  • 12
  • 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 05 '17 at 08:42

1 Answers1

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.

Vitaly Zdanevich
  • 283
  • 1
  • 12