mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.43k stars 411 forks source link

would saving zencoding codes for reusing be available? #91

Closed UncleBill closed 11 years ago

UncleBill commented 12 years ago

sometimes i want to rewrite the zencoding code which has expanded into html

mattn commented 12 years ago

How about this?

foo
bar
baz

wrap with abbreviation ul.

<ul>
    foo
    bar
    baz
</ul>

"Ah, I mistaken. It should be ul>li*". So type ugv<c-y>,<up>. Then you can see Tag: ul. Next type ul>li*.

<ul>
    <li>
        foo
    </li>
    <li>
        bar
    </li>
    <li>
        baz
    </li>
</ul>
UncleBill commented 12 years ago

mattn,thank you, and your example is a good one.However a single u sometimes can't do it well.

mattn commented 11 years ago

However a single u sometimes can't do it well.

Sorry for delay, What do you mean?

UncleBill commented 11 years ago

whatever, I find the way your example go is more useful.

mattn commented 11 years ago

You want to keep this issue with open?

UncleBill commented 11 years ago

No. close it please. and thx!