Has anyone found a good set of python plugins for vim -- specifically module completion?


I'm looking for a suite of plugins that can help me finally switch over to vim full-time.

Right now I'm using Komodo with some good success, but their vim bindings have enough little errors that I'm tired of it.

What I do love in Komodo, though, is the code completion. So, here's what I'm looking for (ordered by importance).

  • Code completion, meaning: the ability to code complete modules/functions/etc. in any module that's on the pythonpath, not just system modules. Bonus points for showing docstrings when completing.
  • Jump-to a class definition. I'm guessing CTAGS will do this, so how do you all manage automatically updating your tags files?
  • Project type management for managing buffers: ideally the ability to grep for a filename in a directory structure to open it. Bonus for showing an index of class definitions while a buffer is open.
  • Bzr integration. Not super important, since most of it I can just drop to the shell to do.
11/15/2009 8:37:47 PM

Accepted Answer

Here you can find some info about this.

It covers code completion, having a list of classes and functions in open files. I haven't got around to do a full configuration for vim, since I don't use Python primarily, but I have the same interests in transforming vim in a better Python IDE.

Edit: The original site is down, so found it saved on the web archive.

6/9/2016 12:21:45 AM

And I write another plugin: https://github.com/klen/python-mode

Old (now its more powerful) screencast here: https://www.youtube.com/watch?v=67OZNp9Z0CQ

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