Vim: Good AutoCompletion Plugin for Python and PHP
I use Vim with ctags 开发者_高级运维for development. I found ctags to be very useful in going to definitions, but I don't know a good plugin to make use of ctags for clever auto completion. It seems that the default Vim auto completion is not good. When I write set omnifunc? in Vim, I get this:
omnifunction=pythoncomplete#Complete
I do know about OmniComplete for C++, but I don't know any good plugin for Python and PHP. Does anybody have an idea?
For Python, you can use the .vimrc file specified here:
Ultimate Vim Python setup.
I think you will like it :)
Happy vimming and Happy New Year!
You can use following:
For Python: http://www.vim.org/scripts/script.php?script_id=30
For PHP: http://www.vim.org/scripts/script.php?script_id=1571
精彩评论