I am using 256 color theme in vim (set t_Co = 256) and all php files will open for about 8 seconds.
- This is my local dual-core machine.
- It does not depend on the color scheme I use (zenburn, wombat, wombat256).
- HTML, Python, JS or all other files open instantly
- It takes about 8 seconds even to create new php files (: o newfile.php)
- I installed my terminal correctly
- Everything is fine if I use 16 colors (set t_Co = 16)
I really want to use the 256-color mode, it looks much more beautiful, but I can not get rid of these lags.
performance profiling vim 256color lag
Andrew
source share