Aaaargh, fix my HTMl please March 14, 2006 4:35 PM   Subscribe

Oh, god, I've gotten stupid with tt tags. Please help me.
posted by boo_radley to Feature Requests at 4:35 PM (6 comments total)

I'm not even sure what you're trying to do there. If you want to paste in a fix here, I'll replace it.
posted by jessamyn (staff) at 6:03 PM on March 14, 2006


I believe this is how it was supposed to look:
If I have
<a .="">text text text
typed out, I would like to type < and have vim provide the /a>, finish off the ending tag for me automatically.

Further, if the cursor is on <a .="">, is there a way to automatically move to the matching </a>?

I've looked all over the vim site, and I can't find a good answer for this. I've checked the vim cookbook, and googled around for it, and haven't found an answer.
posted by Rhomboid at 7:38 PM on March 14, 2006


Should have appeared as


If I have
<a ...> text text text
typed out, I would like to type </ and have vim provide the a>, finish off the ending tag for me automatically.

Further, if the cursor is on <a ...>, is there a way to automatically move to the matching <a ...>?
I've looked all over the vim site, and I can't find a good answer for this. I've checked the vim cookbook, and googled around for it, and haven't found an answer.
posted by boo_radley at 7:44 PM on March 14, 2006


I think previewing things turned my entity into a real <...
posted by boo_radley at 7:45 PM on March 14, 2006


okay I think the trick is to type out the brackets with HTML escape characters and then don't preview. Does it look okay now?
posted by jessamyn (staff) at 8:22 PM on March 14, 2006


it's much better, thank you.
posted by boo_radley at 8:33 PM on March 14, 2006


« Older AskMe Etiquette   |   NYC Meetup? Newer »

This thread is closed to new comments.