Sometimes you still have to write html in web2py which is annoying. It
might not be new to all of you but I just discovered zen html that
really speeds up the process.
In my example i customized the zen key to ctrl + z
What it does:
type
div.box<ctrl+z>
and you get
<div class="box"></div>
with you cursor in the middle of the divs ready to type :)
even better
table>tr*3>td<ctrl+z>
and you get
<table>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
</table>
there are plugins for vim, emacs, textmate ...I love it, you might
too, check it out
here is a vid showing zen html
http://vimeo.com/7405114
and here the project
http://code.google.com/p/zen-coding/
I use http://www.vim.org/scripts/script.php?script_id=2981
just dropped the plugin into .vim/ftplugin/html/ and edited the
shortcut to something convenient
:)
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.