Split Up XML or HTML Elements in VIM

24 July 2008
by Billy Czajkowska

If there are multiple HTML or XML tags on one line, use the following command to split that data over several lines instead & make it more readable :-
:%s/></>r</g

Our Latest News