wyc
wyc

Reputation: 55283

Plugins to make PHP coding easier and efficient in (g)Vim?

Plugins to make PHP coding easier and efficient in (g)Vim?

e.g. Error detection/highlight, debugging, etc?

Upvotes: 3

Views: 459

Answers (2)

Drasill
Drasill

Reputation: 4016

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.

Upvotes: 2

Tom
Tom

Reputation: 542

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.

http://www.drchip.org/

Upvotes: 1

Related Questions