Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm used to working with the nifty "code-intelligence" auto-completion of identifiers in Komodo IDE. In the non-graphic work environments that I still have, I'm craving for a similar capability inside VIM.

Any ideas on how to get VIM to auto-complete based on identifiers currently in the buffer and from modules imported by the current buffer?

(I'm not referring to auto-completing general Python built-ins etc.)

share|improve this question
add comment

2 Answers

Of course, one problem is that python is dynamic, so you can't really be sure what identifiers will be available outside the current file... ;)

Anyway, Pydiction seems to do more or less what you want?

share|improve this answer
add comment
up vote 0 down vote accepted

Try omni-completion: http://www.vim.org/scripts/script.php?script_id=1542

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.