How to make vim act like it knows it should.
March 14, 2006 4:31 PM
Subscribe
In vim, is it possible to enable end-tag completion in HTML files?
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 to computers & internet (18 comments total)
I believe this HTML plugin handles the second case. If you don't like the way the plugin works, you can at least look at the source to see how the forward searching is handled.
posted by Galvatron at 4:50 PM on March 14, 2006