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

前端 未结 9 2111
旧时难觅i
旧时难觅i 2021-01-30 14:45

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 hav

相关标签:
9条回答
  • 2021-01-30 15:04

    I use Pydiction (http://www.vim.org/scripts/script.php?script_id=850) it's a plugin for vim that lets you Tab-complete python modules/methods/attributes/keywords, including 3rd party stuff like Pygame, wxPython, Twisted, and literally everything. It works more accurately than other things i've tried and it doesn't even require that python support be compiled into your Vim.

    0 讨论(0)
  • 2021-01-30 15:04

    I personally thinkJedi Vim is the best, but it is incompatible with python-mode.

    0 讨论(0)
  • 2021-01-30 15:07

    Old question, but I typed all this up for a misread question...

    General plugin recommendations: LookupFile and a plugin for your source control system (I like Git and Git-Vim).

    Python plugin recommendations: If you're using Linux, I'd recommend ipython and ipy.py (a better interactive interpreter). Improved syntax highlighting, snippets, pydoc, and for refactoring support bicyclerepairman. I got started with this post.

    You may want to try looking through someone's vimfiles. Mine are on github.

    0 讨论(0)
  • 2021-01-30 15:19

    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

    0 讨论(0)
  • 2021-01-30 15:22

    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.

    0 讨论(0)
  • 2021-01-30 15:24

    Here is some info on Bazaar integration if you're interested:

    https://launchpad.net/bzr-vim-commands

    0 讨论(0)
提交回复
热议问题