views:

200

answers:

6

Right now I'm using surround.vim to enclose text in HTML tags, and a plugin that highlights text according to the hex value in the CSS file (e.g. #888 will have gray background in the CSS file).

Are there other useful plugins for web development?

Recommendations

Here is a list of the plugins mentioned in the answers so far:

+3  A: 

How about JSLint right in VIM, http://github.com/hallettj/jslint.vim ?

Luca Matteis
+2  A: 

I like ZenCoding : http://www.vim.org/scripts/script.php?script_id=2981

Also, for folding Php : http://www.vim.org/scripts/script.php?script_id=1623

Drasill
+2  A: 

ctags aka Exuberant ctags

A blog post about it.

That blog post also mentions the taglist plugin, which I have yet to use.

George Marian
@George Marian is taglist useful listing HTML and CSS elements?
janoChen
@janoChen I haven't used taglist, though it seemed useful, so I included that in my answer. That said, taglist simply displays information gathered by ctags. According to the ctags website, it supports HTML, but there is no mention of CSS: http://ctags.sourceforge.net/languages.html Personally, I used ctags on a large PHP codebase and found it very useful.
George Marian
+1  A: 

NERDTree, minibufexpl

Flavius Stef
+1  A: 

I find Syntastic to be fairly helpful in spotting minor PHP problems. (and/or blend it with some form of setting php -l as :make.) Syntastic also shows you tidy warnings on your html.

JameyC
A: 

Very helpful when dealing with html or xml: surround.vim; it allows to easily add/delete/change any kind of tags.

matias