I use Python-mode (pymode) in Vim. When I begin typing an import statement,
from foo import bar
Pymode auto inserts import
such that I end up with
from foo import import bar
How can I prevent Pymode from auto inserting/completing import
?
I experienced this behaviour using Jedi-vim, specifcally the smart_auto_mappings feature which is enabled by default.
You can disable it by adding:
let g:jedi#smart_auto_mappings = 0
To your ~/.vimrc