Split Up XML or HTML Elements in VIM
July 24th, 2008 by Richard AldridgeIf 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
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
You must be logged in to post a comment.