Last week I found a nifty Vim plugin that lets write HTML code
faster and easier. It's called sparkup: the idea is
to use a shortcut language inspired by CSS which expands to valid HTML code while hitting <C-e>
.
The language greatly reduces the amount of characters that need to be written in
order to create HTML tags.
Simple example:
#foo.bar.baz.cuuz<C-e>
will expand to
<div id="foo" class="bar baz cuuz"></div>
Here is a short video I've recorded with ascii.io to show it looks in practice with examples taken from the sparkup README.
The plugin has been added to vimified into
html
package. Enjoy!
My Tech Newsletter
Get emails from me about programming & web development. I usually send it once a month