Last active
August 29, 2015 14:04
-
-
Save matthewhartman/c197ae351431c0e4821a to your computer and use it in GitHub Desktop.
VIM - Changing all HTML tags to lowercase (including attributes)
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
# Convert all HTML tags and attributes (excluding text) to lowercase | |
# Thanks to http://vim.wikia.com/wiki/Changing_all_HTML_tags_to_lowercase | |
:%s/<\([^>]*\)>/<\L\1>/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment