Whenever I use Zen Coding for vim I usually have the same issue: When I want to wrap a paragraph with p the output would look like this:
<p>Text</p>
However, I’d like it to output like this:
<p>
Text
</p>
How do I tell the zencoding plugin to split the output onto several lines?
In official Zen Coding (your Vim plugin has unofficial implementation, but it tries to stick close to it), you need to apply
xmlfilter to your abbreviation. It will apply XML profile with different formatting options.So, in your case, you may try to wrap text with
p|xmlabbreviation.For further information on output tweaking, you may want to read the following: