开发者

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

开发者 https://www.devze.com 2023-02-16 02:27 出处:网络
Plugins to make PHP coding easier and efficient in (g)Vim? e.g. Err开发者_开发百科or detection/highlight, debugging, etc?For error detection, there is no miracle, but Syntastic is a good start.

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

e.g. Err开发者_开发百科or 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 :

  • DBGp-client
  • vim-add-xdebug (I never used it, but seems more recent)
  • DBGPavim (the most recent, nice plugin with good documentation)

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.

http://www.drchip.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消