What are you ideal vim configuration for php development?

I use VIM editor for PHP, i know many people will point to PDT but somehow I like to stay with VIM and so

What are your suggestions for ideal VIM configuration for PHP Development ?


You would probably want to use a PHP syntax file such as: http://www.vim.org/scripts/script.php?script_id=1571

FWIW: Personally I am enjoying learning vim at the moment but still prefer netbeans for PHP development because it has many features that I need, such as automatic scp to a remote server and remote debugging with XDebug.


If you've used PDT and like it, you might want to look into Eclim. It allows you to use vim, but hooks into eclipse for projects, code completion, etc. This makes it a little easier to jump into PDT for debugging, then back to vim for coding.


you really should be using Tobias Schlitt's VIP, which is "VIM integration for PHP, including the phpDocumentor for VIM (PDV) script. The main component is a VIM file type plugin, which configures a lot of VIM enhancements for more comfortable PHP editing in VIM.".

I've been using it since before its name changed from PDV to VIP and it really is superb.

You can get it off github at http://github.com/tobyS/vip

链接地址: http://www.djcxy.com/p/8698.html

上一篇: 你可以在vim的可视化选择的文本上执行什么?

下一篇: 你对PHP开发有什么理想的vim配置?