VIM PHP autocomplete
Lets add PHP autocomplete feature. In your $HOME/.vimrc
file add the following command
太神奇了
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
Once done, Open any PHP file and within thetag, write
mysql_c
and pressCtrl-x Ctrl-o
, and here is what happens
Thank You! Really helpful to a Vim newbie
回覆刪除版主回覆:(03/07/2011 04:01:26 PM)
My pleasure.
Wicked thanks. I am just now starting to use plugins for VIM.
回覆刪除Nerdtree is first. :) ~thank you
版主回覆:(03/07/2011 04:01:26 PM)