I edit a lot of xml files with vim. The problem is that, because of the long lines, navigation/editing in vim is extremely slow. Is there something I can do (besides turning off
It's caused by long line parsing in vim. I finally found that if I remove following from my .vimrc, the problem solved:
.vimrc
filetype indent plugin on
Note that it doesn't work if you type in :filetype indent plugin off when editing a file with long line.
:filetype indent plugin off