Created
July 1, 2013 22:19
-
-
Save localstatic/5905137 to your computer and use it in GitHub Desktop.
Vim - format XML using xmllint as filter. This assumes that xmllint is installed and in your PATH.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:silent 1,$!xmllint --format --recover - 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment