//Split Up XML or HTML Elements in VIM

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

By |2008-07-24T09:20:49+00:00July 24th, 2008|Vim|0 Comments

About the Author: