Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to get Python auto-completions/intellisense in Vim dynamically?

I have looked at pydiction, pysmell and vim-ipython. Both pydiction and pysmell require generating the index before we can use it, and vim-ipython requires loading back and forth before the autocompletion works. However, none of them give the on-the-fly auto-completion working in different virtualenv, like what Aptana can do.

Would an experienced Python-vimmer let us know please?

like image 712
hllau Avatar asked Mar 04 '12 03:03

hllau


2 Answers

Try this: https://github.com/klen/python-mode

Dynamic omnicompletion from Rope and many other features.

like image 161
klen Avatar answered Nov 13 '22 00:11

klen


I really like neocomplcache it's an ultimate completion system for vim. For python it uses internal vim's python omni-completion which is pretty good doing it's job.

You should give it a try.

like image 35
a.sk Avatar answered Nov 13 '22 01:11

a.sk