Question

I don’t really need the “feature” of expanding to self when there are no beginning characters of the function/class/etc. specified yet, I’d rather have it show a list of all functions available in that context.

Is there a way to enable this somehow?

I’m afraid this is hard-coded in python3complete (/usr/share/vim/vim73/autoload/python3complete.vim), in that case: Are there any changed version of that script?
(This is targeted at python3, but should be the same in python2.x, didn’t test it.)

Was it helpful?

Solution

Are you using the snipMate plugin? If you are, then there's probably a snippet that has the trigger ".", which will expand to "self.".

It looks something like this in a file called python.snippets:

snippet .
       self.

Remove those lines.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top