Questions tagged [sparkup]

You can write HTML in a CSS-like syntax, and have Sparkup handle the expansion to full HTML code. It is meant to help you write long HTML blocks in your text editor by letting you type less characters than needed.

Sparkup is written in Python, and requires Python 2.5 or newer (2.5 is preinstalled in Mac OS X Leopard). Sparkup also offers integration into common text editors. Support for VIM and TextMate are currently included.

Read more in GitHub.

6 questions
2
votes
1 answer

VIM installation on OS X 10.8 Mountain Lion can't be found on ~/.vim/

I'm pretty new on OS X and VIM, and I just tried to install MacVim (I downloaded snapshot 66 from github, which is actually build 7.3.754). The problem is that when I was trying to install Sparkup (https://github.com/rstacruz/sparkup), I found that…
1
vote
2 answers

How do I separate merged html tags in vim?

How do I get this:
[cursor here]
To this:
[cursor here]
In a single command? I have the sparkup plugin installed but didn't come across any actions that do this
Foobar
  • 13
  • 3
1
vote
1 answer

How can you load ftplugins from other filetypes in VIM?

I'm using Pathogen, and am using git clones of xmledit and sparkup as bundles. These two plugins are automatically enabled for HTML, but I want to enable them for other HTML-like filetypes, such as Handlebars. How can I automatically load ftplugins…
David
  • 23
  • 3
0
votes
3 answers

vim sparkup item number in content

Using the sparkup plugin for vim (specifically vim-gnome on Ubuntu 15.04, although I doubt that matters), I am generating a list with item numbers: ion-content.has-tabs > .list > a.item[href=#/item/$]{Item $}*3 The result substitutes the item number…
radshop
  • 602
  • 5
  • 19
0
votes
3 answers

vim sparkup tpl

I am using Vim with Sparkup and I have two questions: Sparkup works only with files that end with a HTML extension, however, I would like to use it with TPL, XML, or essentially, any hypertext markup based file. Is that possible? Unlike the…
Lui
  • 3
  • 1
0
votes
1 answer

Sparkup Syntax for repeating more than just a single element?

Say I have this: ...
  • 7
  • 8
  • ... ...and I'd like to use Sparkup in my editor to add another say 6 tabs...so I run the sparkup command: li.tab >…
    leeand00
    • 25,510
    • 39
    • 140
    • 297