Plugins to make PHP coding easier and efficient in (g)Vim?
e.g. Error detection/highlight, debugging, etc?
Plugins to make PHP coding easier and efficient in (g)Vim?
e.g. Error detection/highlight, debugging, etc?
For error detection, there is no miracle, but Syntastic is a good start.
If you have installed xdebug, then you can use :
Also, there is a package with some PHP config/plugins all-in-one, PIV, but I prefer installing plugins one by one.
Finally, the best advice would be to first install Vundle, so that you can then do this :
:BundleSearch php
Then yank the plugins results you're interested in, into your .vimrc, then
:BundleInstall
And you can test these plugins in no time. And launch :BundleClean after removing lines in your .vimrc if you don't like the plugin.
I found the free book 'A Byte of Vim' very helpful. It contains descriptions of a useful set of plugins.
http://www.swaroopch.com/notes/Vim
See also Dr Chip's Vim page.