分析:
1.主要是在输入一些类的名字后时卡,可能是ycm导致的
2.确认了下,文件长了,在函数之间即非{ }里输入都极卡顿
有大佬建议升级vim
目前使用的vim 版本:
vim -version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 21 2019 04:10:35)
Garbage after option argument: "-version"
More info with: "vim -h"
b@k:~$ which vim
/usr/bin/vim
b@k:~$ ll /usr/bin/vim
lrwxrwxrwx 1 root root 21 Oct 30 2017 /usr/bin/vim -> /etc/alternatives/vim
b@k:~$ ll /etc/alternatives/
Display all 441 possibilities? (y or n)
b@k:~$ ll /etc/alternatives/vi
vi