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
Add to vimrc file
nmap x :set filetype=xml:%s/>>\rgg=G:noh
pressing x will then automatically prettyprint the xml file.