My experience is that Vim is slow when searching in large XML files with syntax highlighting turned on. I find it to be very dissatisfactory. I have read about the issue elsewhere but I have not been able to locate a solution. Does someone know how to treat the issue?
Not a real solution, but it helps loading bigger XML files with long lines. This restricts the syntax hightlighting to a line width and everything after this is not highlighted. In this example there is no hightlighting after the 100th char.
Or just disable syntax highlighting completely