Vim autocomplete for Python


Question

I am trying to incorporate an autocomplete feature in Vim. I have used the omnicompletion of Vim as well as Pydiction. But in both the cases this message pops up:

Omni completion (^O^N^P) Pattern not found

I have tried Vim's Omnicompletion with Python just doesn't work. But this is not helping. Is there a workaround?

1
49
5/23/2017 12:10:33 PM

Try Jedi! There's a Vim plugin at https://github.com/davidhalter/jedi-vim.

It works just much better than anything else for Python in Vim. It even has support for renaming, goto, etc. The best part is probably that it really tries to understand your code (decorators, generators, etc. Just look at the feature list).

57
3/9/2014 9:00:55 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon