Not sure if this is the right place to post this question but I thought 
the answer may be of interest to many sluggers if an answer indeed exists.

I've been doing a lot (too much) work on html... stuff that Dreamweaver 
produces. I've been having immense amounts of trouble following the 
trail of embedded tables and the like. Even after running it through 
html tidy. I've occasionally had to work with C code that's like this, 
and I've found being able to press '%' to jump to the matching bracket 
very helpful. I was wondering if there was a way to do this for html? I 
know I can jump to the matching angle bracket - I want to jump to the 
matching closing tag.

FWIW, in my research I've found some other useful things which don't 
help this at all. I thought this one was quite neat:

http://www.infynity.spodzone.com/vim/HTML.shtml - quite cute. Does 
things like remapping ';html' to inserting a template html page into 
your active buffer. Certainly saves keystrokes (but I'm still learning it)

I also found this page:

http://www.math.rochester.edu:8080/u/cmlr/vim/syntax/ - which has a link 
to the above and also a link to a thing called easy-html, which claims 
to be an easy way to get vim to remember all sorts of html specific 
stuff but I can't seem to get it to work - I'd also be interested to 
hear from anyone who can get this working.

finally is there a way to get vim to parse quoted strings in php code as 
html? not a big deal if it can't and I'm not really expecting it, but it 
would be quite convenient.

Thanks,

James.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to