How to setup VIM for php development?

Posted by Ashwin kumar on Super User See other posts from Super User or by Ashwin kumar
Published on 2012-06-27T03:14:40Z Indexed on 2012/06/27 3:18 UTC
Read the original article Hit count: 540

Filed under:
|
|
|

I have been trying a lot (but not smartly) to figure out setting up VIM, ctags, omnicomple for PHP development.

On Googling I found this file. But have no clue how to use it.

What have I done until now? Here it is:

  1. I am on Fedora 17 64-bit OS
  2. Logged in as root Found my VIM version to be VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 8 2012 15:05:51)
  3. Followed the install details as here http://www.vim.org/scripts/script.php?script_id=3171

install details Place in $HOME/.vim/autoload/phpcomplete.vim and enable the php ftplugin

What else I am missing? How do I start using omnicomplete. (this is the first time I am using omnicomplete)

Why didn't I try IDE's?

I have a single core machine running LAMP stack. Didn't wanted to slow down everything and hence sticking to command line environment.

© Super User or respective owner

Related posts about vim

Related posts about php