Tuesday, June 4, 2013

Re: How to fix <h1> id strings?

I have been trying the ZenCoding.vim plugin, still going thru the
tutorial.
<http://www.vim.org/scripts/script.php?script_id=2981>

Would someone compare ZenCoding with snipMate?

Type the following and stay in insert mode with the cursor after the
3:

div>h#zz$*2>ol>li*3

While still in insert mode with the cursor after the '3'
Using the default trigger, type <C-Y>,
It will expand to and leave the cursor at the '_':

<div>
<h id="zz1">
<ol>
<li>_</li>
<li></li>
<li></li>
</ol>
</h>
<h id="zz2">
<ol>
<li></li>
<li></li>
<li></li>
</ol>
</h>
</div>

Bill

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment