Html macros in Vi
Hi,
I use vi as my text editor. I've spent a lot of time on the web trying to find macros for writing HTML, and I haven't succeeded.
The most useful thing for me would be to be able to do this:
A small command, let's say :link
which would print out
<a href http="^">*</a>
Which would first put my cursor at ^, so I could enter the address, and then (maybe after tabbing?) move my cursor to *, where I could enter the anchor text.
This alone would save me much grief, but I suspect that there are more general vi tricks that would help with lists, div's, etc.
A link to docs would be fine -- the built-in help only seems to talk about syntax highlighting (unless I'm missing something?) .
Thanks ahead of time,
Pat
|