24
10
I would never have thought that Vim would be so slow. All I have is the following long line:
I run Vim (MacVim) under Mac OS X with the terminal app. Here is my vimrc. I hope that it has nothing to do with some of my plugins. If I break up the big line in the image, everything is working fast again.
related: https://stackoverflow.com/questions/901313/editing-xml-files-with-long-lines-is-really-slow-in-vim-what-can-i-do-to-fix-th
– Ciro Santilli 新疆改造中心法轮功六四事件 – 2019-12-19T13:42:44.710+1. Thanks for the picture! That one line itself is extremely long. Remember that CLI text editors used to limit lines to 255 characters back in the days of DOS. Syntax highlighting requires that each HTML tag open and close be monitored, and each double quote as well, and then each variable. And I'm sure that each time you nest another tag inside the HREF tag, the editor has to figure out just what that means. I've seen emacs have issues highlighting text that VI has no problems with: You too can choose editors on-demand like we do with chrome, FF and the infamous IE browser. – Vlueboy – 2011-06-26T08:37:50.820