Skip to content

Instantly share code, notes, and snippets.

@bennlich
bennlich / gist:006079ab3ce479a717bc
Last active March 26, 2016 02:48 — forked from mcdonc/gist:3898894
oh my god i'm using emacs to reindent html in sublime text 2
# Sublime's HTML reindenting is currently pretty bad. And Tidy and xmllint
# change my code in ways I don't really like or need. I just need the thing
# reindented sanely. Emacs did that pretty well.
#
# One thing led to another. A few drinks later and now I'm using Emacs to
# reindent HTML from within Sublime.
#
# Save the contents of this file as ohmygodemacs.py in your User directory.
# Then save the contents of the following docstring as ohmygodemacs.elisp in your
# User directory